NFSv4.1: Clean ups for the device id cache
commit47cb498e9316314e7e681f417135589195ad78a7
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 14 Jun 2011 16:18:11 +0000 (14 12:18 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Jul 2011 17:40:28 +0000 (12 13:40 -0400)
tree2f48649123504119c8ab200300b919b040a0897b
parente885de1a5bc9f46ef8f934c5a7602c89d2d51e8d
NFSv4.1: Clean ups for the device id cache

The fact that the global device id cache holds a reference to the
nfs4_deviceid_node until it is invisible to rcu lookups implies that
we can always assume that the reference count is non-zero in
_find_get_deviceid.

Also clean up nfs4_put_deviceid_node and the removal of the device id
from the cache.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c