NFS: use SUNRPC cache creation and destruction helper for DNS cache
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 4 Feb 2013 11:02:35 +0000 (14:02 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Feb 2013 15:43:12 +0000 (10:43 -0500)
commit483479c26a65e5f0cc95e9324f313bc95c7dc6fd
treec5b72368672a50a7a43cb3e2f4e70c089bc0a360
parente56a316214d0f1e2446fa7a717309f9414564d9d
NFS: use SUNRPC cache creation and destruction helper for DNS cache

This cache was the first containerized and doesn't use net-aware cache
creation and destruction helpers.
This is a cleanup patch which just makes code looks clearer and reduce amount
of lines of code.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/dns_resolve.c