NFS: simplify and clean cache library
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 4 Feb 2013 11:02:40 +0000 (14:02 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Feb 2013 15:43:36 +0000 (10:43 -0500)
This is a cleanup patch.
Such helpers like nfs_cache_init() and nfs_cache_destroy() are redundant,
because they are just a wrappers around sunrpc_init_cache_detail() and
sunrpc_destroy_cache_detail() respectively.
So let's remove them completely and move corresponding logic to
nfs_cache_register_net() and nfs_cache_unregister_net() respectively (since
they are called together anyway).

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found