FS-Cache: Permit fscache_cancel_op() to cancel in-progress operations too
[firefly-linux-kernel-4.4.55.git] / fs / fscache / internal.h
index 3063a58b7d3db28512833771ca7935f2067a7e99..87c4544ec912b67b604520d5907833024a76bda5 100644 (file)
@@ -125,7 +125,8 @@ extern int fscache_submit_exclusive_op(struct fscache_object *,
 extern int fscache_submit_op(struct fscache_object *,
                             struct fscache_operation *);
 extern int fscache_cancel_op(struct fscache_operation *,
-                            void (*)(struct fscache_operation *));
+                            void (*)(struct fscache_operation *),
+                            bool);
 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 *);