NFS: We must use list_for_each_entry_safe in nfs_access_cache_shrinker
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 29 Sep 2010 19:11:56 +0000 (15:11 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 29 Sep 2010 19:16:25 +0000 (15:16 -0400)
commitaa510da5bfe1dfe263215fd0e05dac96e738a782
tree23653cea38532e688f593e36295c312158558a79
parenta00dd6c03dd97a777c291a8af8682be4b5fadf8d
NFS: We must use list_for_each_entry_safe in nfs_access_cache_shrinker

We may end up removing the current entry from nfs_access_lru_list.

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