diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-02-04 12:02:50 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-15 16:43:46 +0100 |
commit | 2d4383383b0b04ca380b67aa2d7397d0b399dcbf (patch) | |
tree | f9e8bddc466c2c8dfdcf039aca4d53752e524fb9 /net/openvswitch | |
parent | SUNRPC: introduce cache_detail->cache_request callback (diff) | |
download | linux-2d4383383b0b04ca380b67aa2d7397d0b399dcbf.tar.xz linux-2d4383383b0b04ca380b67aa2d7397d0b399dcbf.zip |
SUNRPC: rework cache upcall logic
For most of SUNRPC caches (except NFS DNS cache) cache_detail->cache_upcall is
redundant since all that it's implementations are doing is calling
sunrpc_cache_pipe_upcall() with proper function address argument.
Cache request function address is now stored on cache_detail structure and
thus all the code can be simplified.
Now, for those cache details, which doesn't have cache_upcall callback (the
only one, which still has is nfs_dns_resolve_template)
sunrpc_cache_pipe_upcall will be called instead.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions