]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/fscache-cache.h
FS-Cache: Mark cancellation of in-progress operation
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Dec 2012 20:03:13 +0000 (20:03 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 22:34:00 +0000 (22:34 +0000)
commit1f372dff1da37e2b36ae9085368fa46896398598
treef47b00dc61c9cf6c0eaa6d437bd7f91bfcb4d76d
parent7ef001e937e8b9cbedb2fc1c31dd681ac3b31927
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>
fs/cachefiles/interface.c
fs/fscache/operation.c
fs/fscache/page.c
include/linux/fscache-cache.h