NFSv4.1: Fix a refcounting issue in the pNFS device id cache
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 14 Jun 2011 16:07:38 +0000 (12:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Jun 2011 15:24:29 +0000 (11:24 -0400)
commit1d92a08da23848a38eece4df7eaa4e8ec0e6c699
tree17da4ebe1aba9da32990a7fa5bbe3f2ff6f60941
parentc9c30dd5f73dccaa326a54dfcf490316946aea87
NFSv4.1: Fix a refcounting issue in the pNFS device id cache

When we add something to the global device id cache, we need to bump the
reference count, so that the cache itself holds a reference.

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