]> git.karo-electronics.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>
Fri, 31 May 2013 20:32:58 +0000 (21:32 +0100)
commitbd980eb1c983888f065cef3e08639f4c4dbbc539
treea301ea64293effa2f31e5a1451ca740504f3f4e4
parent5a060204a9629b9a3e3e8170bcafe0eba3a1a657
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>
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