diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-13 12:51:06 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:36 -0400 |
commit | 9c7e7e23371e629dbb3b341610a418cdf1c19d91 (patch) | |
tree | c211183b99860d232500bf99d12775e47c4f0f9c /net/sunrpc/stats.c | |
parent | 1a81bb8a1fa62ccb9b2411ac10ce702ca4ed302a (diff) | |
download | op-kernel-dev-9c7e7e23371e629dbb3b341610a418cdf1c19d91.zip op-kernel-dev-9c7e7e23371e629dbb3b341610a418cdf1c19d91.tar.gz |
NFS: Don't call iput() in nfs_access_cache_shrinker
iput() can potentially attempt to allocate memory, so we should avoid
calling it in a memory shrinker. Instead, rely on the fact that iput() will
call nfs_access_zap_cache().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/stats.c')
0 files changed, 0 insertions, 0 deletions