diff options
author | David Howells <dhowells@redhat.com> | 2012-12-13 15:03:13 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-12-20 17:34:00 -0500 |
commit | 1f372dff1da37e2b36ae9085368fa46896398598 (patch) | |
tree | f47b00dc61c9cf6c0eaa6d437bd7f91bfcb4d76d /fs/cachefiles/interface.c | |
parent | 7ef001e937e8b9cbedb2fc1c31dd681ac3b31927 (diff) |
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 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) | |||
484 | } | 484 | } |
485 | } | 485 | } |
486 | 486 | ||
487 | fscache_op_complete(op); | 487 | fscache_op_complete(op, true); |
488 | _leave(""); | 488 | _leave(""); |
489 | } | 489 | } |
490 | 490 | ||