]> git.baikalelectronics.ru Git - kernel.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)
commit181a3a60c483a4ff7e13faf7a81b1f173118cb76
treea301ea64293effa2f31e5a1451ca740504f3f4e4
parent5861168410af40a6067604abce7148dee628bffd
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