nfsd: clean up and reorganize release_lockowner
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 01:34:37 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:27 +0000 (14:20 -0400)
commit882e9d25e11d644b24e578866c688d3f8f0d3712
tree06f0f66a6f78fd2f93d326dd81af0da143b15ab0
parentd4f0489f38512027fdf5190d5d1d8007e155e88f
nfsd: clean up and reorganize release_lockowner

Do more within the main loop, and simplify the function a bit. Also,
there's no need to take a stateowner reference unless we're going to call
release_lockowner.

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.024457 seconds and 5 git commands to generate.