Home
last modified time | relevance | path

Searched hist:"9 c7e7e23" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Ddir.c9c7e7e23 Thu May 13 11:51:06 CDT 2010 Trond Myklebust <Trond.Myklebust@netapp.com> 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>
9c7e7e23 Thu May 13 11:51:06 CDT 2010 Trond Myklebust <Trond.Myklebust@netapp.com> 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>