]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc8f76751c178703cdb4fc748f6b9a868ce02d73
tree17da4ebe1aba9da32990a7fa5bbe3f2ff6f60941
parent34b7a771b6eac8d63ea40719c0fe10938e9cb006
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