]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: clean up refcounting for lockowners
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 01:34:31 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:22 +0000 (14:20 -0400)
commit61075d3b16714d8c447310ec2482f96b37441ecb
tree6dd91ae3921337410f1f4cdd4f92041b61db4fbb
parenta906f01f708f9d8bce7dbbefaaa621ee5593cf0a
nfsd: clean up refcounting for lockowners

Ensure that lockowner references are only held by lockstateids and
operations that are in-progress. With this, we can get rid of
release_lockowner_if_empty, which will be racy once we remove
client_mutex protection.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c