diff options
author | David Howells <dhowells@redhat.com> | 2012-12-13 20:03:13 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-12-20 22:34:00 +0000 |
commit | 1f372dff1da37e2b36ae9085368fa46896398598 (patch) | |
tree | f47b00dc61c9cf6c0eaa6d437bd7f91bfcb4d76d /fs/cachefiles/interface.c | |
parent | 7ef001e937e8b9cbedb2fc1c31dd681ac3b31927 (diff) | |
download | op-kernel-dev-1f372dff1da37e2b36ae9085368fa46896398598.zip op-kernel-dev-1f372dff1da37e2b36ae9085368fa46896398598.tar.gz |
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/interface.c')
-rw-r--r-- | fs/cachefiles/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c index 7a9d574..746ce53 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(""); } |