FS-Cache: Fix cancellation of in-progress operation
authorDavid Howells <dhowells@redhat.com>
Wed, 25 Feb 2015 14:07:25 +0000 (14:07 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 2 Apr 2015 13:28:53 +0000 (14:28 +0100)
commit73c04a47bf79770fbe7f3cf515f5831fccab88ee
treec1356f4638ab71ae1f9490c2957b0e23d5e0de85
parent03cdd0e4b9a98ae995b81cd8f58e992ec3f44ae2
FS-Cache: Fix cancellation of in-progress operation

Cancellation of an in-progress operation needs to update the relevant counters
and start any operations that are pending waiting on this one.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jeff.layton@primarydata.com>
fs/fscache/operation.c