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>
This commit is contained in:
David Howells
2012-12-13 20:03:13 +00:00
parent 7ef001e937
commit 1f372dff1d
4 changed files with 12 additions and 11 deletions

View File

@@ -484,7 +484,7 @@ static void cachefiles_invalidate_object(struct fscache_operation *op)
}
}
fscache_op_complete(op);
fscache_op_complete(op, true);
_leave("");
}