]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/fscache/operation.c
FS-Cache: Handle a new operation submitted against a killed object
authorDavid Howells <dhowells@redhat.com>
Wed, 25 Feb 2015 11:53:57 +0000 (11:53 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 2 Apr 2015 13:28:53 +0000 (14:28 +0100)
commit6515d1dbf424c5c3b94d44e9c7f581026e7fc0d3
treef36db7b4a6e91ff358926ddfdb28fba8349620cf
parent30ceec6284129662efc3a1e7675b2bd857a046fe
FS-Cache: Handle a new operation submitted against a killed object

Reject new operations that are being submitted against an object if that
object has failed its lookup or creation states or has been killed by the
cache backend for some other reason, such as having been culled.

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/object.c
fs/fscache/operation.c