SUNRPC: split cache creation and PipeFS registration
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 25 Nov 2011 14:12:40 +0000 (17:12 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 31 Jan 2012 23:20:26 +0000 (18:20 -0500)
commit820f9442e711a81749e70c40f149fc54c4ce0ca8
treed3e3f9b6e32cc8f19189d9760ce60ee502b81ee8
parent30507f58ce11e7664512059c708347d7a7d75271
SUNRPC: split cache creation and PipeFS registration

This precursor patch splits SUNRPC cache creation and PipeFS registartion.
It's required for latter split of NFS DNS resolver cache creation per network
namespace context and PipeFS registration/unregistration on MOUNT/UMOUNT
events.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/cache_lib.c
include/linux/sunrpc/cache.h
net/sunrpc/cache.c