summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-12-13 20:03:13 +0000
committerDavid Howells <dhowells@redhat.com>2012-12-20 22:34:00 +0000
commit1f372dff1da37e2b36ae9085368fa46896398598 (patch)
treef47b00dc61c9cf6c0eaa6d437bd7f91bfcb4d76d /fs/cachefiles
parent7ef001e937e8b9cbedb2fc1c31dd681ac3b31927 (diff)
downloadblackbird-op-linux-1f372dff1da37e2b36ae9085368fa46896398598.tar.gz
blackbird-op-linux-1f372dff1da37e2b36ae9085368fa46896398598.zip
FS-Cache: Mark cancellation of in-progress operation
Mark as cancelled an operation that is in progress rather than pending at the time it is cancelled, and call fscache_complete_op() to cancel an operation so that blocked ops can be started. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r--fs/cachefiles/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c
index 7a9d574b961c..746ce532e130 100644
--- a/fs/cachefiles/interface.c
+++ b/fs/cachefiles/interface.c
@@ -484,7 +484,7 @@ static void cachefiles_invalidate_object(struct fscache_operation *op)
}
}
- fscache_op_complete(op);
+ fscache_op_complete(op, true);
_leave("");
}
OpenPOWER on IntegriCloud