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)
commit5adfd8850ba1463fe675c2df1829fb439e7c7b0f
tree6dd91ae3921337410f1f4cdd4f92041b61db4fbb
parente4f1dd7fc23f92efdaaa07d001b3dd5391505580
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
This page took 0.027055 seconds and 5 git commands to generate.