FS-Cache: Clear remaining page count on retrieval cancellation
[profile/ivi/kernel-adaptation-intel-automotive.git] / fs / fscache / internal.h
index 88a48cc..ee38fef 100644 (file)
@@ -121,7 +121,8 @@ extern int fscache_submit_exclusive_op(struct fscache_object *,
                                       struct fscache_operation *);
 extern int fscache_submit_op(struct fscache_object *,
                             struct fscache_operation *);
-extern int fscache_cancel_op(struct fscache_operation *);
+extern int fscache_cancel_op(struct fscache_operation *,
+                            void (*)(struct fscache_operation *));
 extern void fscache_cancel_all_ops(struct fscache_object *);
 extern void fscache_abort_object(struct fscache_object *);
 extern void fscache_start_operations(struct fscache_object *);