summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-07-30 03:34:28 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-07-31 20:20:20 +0200
commit5db1c03feb00a72846927172d81744790e601b97 (patch)
tree19036319894decca0a9def124bcbc54709e41296 /fs/nfsd/state.h
parentnfsd: Add a mutex to protect the NFSv4.0 open owner replay cache (diff)
downloadlinux-5db1c03feb00a72846927172d81744790e601b97.tar.xz
linux-5db1c03feb00a72846927172d81744790e601b97.zip
nfsd: clean up lockowner refcounting when finding them
Ensure that when finding or creating a lockowner, that we get a reference to it. For now, we also take an extra reference when a lockowner is created that can be put when release_lockowner is called, but we'll remove that in a later patch once we change how references are held. Since we no longer destroy lockowners in the event of an error in nfsd4_lock, we must change how the seqid gets bumped in the lk_is_new case. Instead of doing so on creation, do it manually in nfsd4_lock. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
0 files changed, 0 insertions, 0 deletions