diff options
| author | Stanislav Kinsbursky <[email protected]> | 2013-02-04 11:02:40 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2013-02-15 15:43:36 +0000 |
| commit | 462b8f6bf1d3f5feb7a346394036dbc1df3a8ed5 (patch) | |
| tree | 3ff18fadfefa42d972409ab1965e90bdf126d1cb /net/sunrpc/svcauth_unix.c | |
| parent | NFS: use SUNRPC cache creation and destruction helper for DNS cache (diff) | |
| download | kernel-462b8f6bf1d3f5feb7a346394036dbc1df3a8ed5.tar.gz kernel-462b8f6bf1d3f5feb7a346394036dbc1df3a8ed5.zip | |
NFS: simplify and clean cache library
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 <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions
