summaryrefslogtreecommitdiff
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-01-28 23:41:08 +0400
committerJ. Bruce Fields <bfields@redhat.com>2013-02-04 18:16:19 +0400
commit6dc8889589678c228a675b9f01721318a31a8f5b (patch)
tree3cbfbef12dec62f99826c7f32a84fb6a86b8f4cf /fs/nfsd/cache.h
parent7b9e8522a65886d8ae168547a67c3617b6ba83f1 (diff)
downloadlinux-6dc8889589678c228a675b9f01721318a31a8f5b.tar.xz
nfsd: remove unneeded spinlock in nfsd_cache_update
The locking rules for cache entries say that locking the cache_lock isn't needed if you're just touching the current entry. Earlier in this function we set rp->c_state to RC_UNUSED without any locking, so I believe it's ok to do the same here. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/cache.h')
0 files changed, 0 insertions, 0 deletions