]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: lock owners are not per open stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 30 Jun 2014 15:48:38 +0000 (11:48 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 8 Jul 2014 21:14:37 +0000 (17:14 -0400)
commit3a33ecc3d353c9618cf298affb4c7495241e12f1
tree5f2f480974ad925b754b91cea2037d5237bc28e4
parent65fc9bafde095d8e7aaba223b72647d63de25095
nfsd: lock owners are not per open stateid

In the NFSv4 spec, lock stateids are per-file objects. Lockowners are not.
This patch replaces the current list of lock owners in the open stateids
with a list of lock stateids.

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