]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
FS-Cache: Wrap checks on object state
authorDavid Howells <dhowells@redhat.com>
Fri, 10 May 2013 18:50:26 +0000 (19:50 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2013 13:16:47 +0000 (14:16 +0100)
commit493f7bc11457bc1f6fbf25a4b2bdf215ebaf050f
treea301ea64293effa2f31e5a1451ca740504f3f4e4
parent610be24ee434aa89197f06f30fef02be83c006a5
FS-Cache: Wrap checks on object state

Wrap checks on object state (mostly outside of fs/fscache/object.c) with
inline functions so that the mechanism can be replaced.

Some of the state checks within object.c are left as-is as they will be
replaced.

Signed-off-by: David Howells <dhowells@redhat.com>
Tested-By: Milosz Tanski <milosz@adfin.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
fs/cachefiles/namei.c
fs/fscache/cache.c
fs/fscache/cookie.c
fs/fscache/object.c
fs/fscache/operation.c
include/linux/fscache-cache.h