NFS: Don't run nfs_access_cache_shrinker() when the mask is GFP_NOFS
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 13 May 2010 16:51:06 +0000 (12:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 May 2010 19:09:35 +0000 (15:09 -0400)
commit61d5eb2985b3b1d69fd53d7dc9789037c27f8d91
tree6e73d0e7adcda510ec47d0cd50c57d4461e7fbdf
parent20673406534176ead9b984a84b662928110f77b1
NFS: Don't run nfs_access_cache_shrinker() when the mask is GFP_NOFS

Both iput() and put_rpccred() might allocate memory under certain
circumstances, so make sure that we don't recurse and deadlock...

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