nfsd: Add fine grained protection for the nfs4_file->fi_stateids list
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 10 Jul 2014 18:07:25 +0000 (14:07 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Jul 2014 19:05:25 +0000 (15:05 -0400)
Access to this list is currently serialized by the client_mutex. Add
finer grained locking around this list in preparation for its removal.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h

Simple merge
diff --cc fs/nfsd/state.h
Simple merge