NFSD: Modernize nfsd4_release_lockowner()
authorChuck Lever <chuck.lever@oracle.com>
Sun, 22 May 2022 16:07:18 +0000 (12:07 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 26 May 2022 14:50:50 +0000 (10:50 -0400)
commitbd8fdb6e545f950f4654a9a10d7e819ad48146e5
tree3d63a8bac4d6c767ea60caf6e4b2c65c18c40d86
parentce3c4ad7f4ce5db7b4f08a1e237d8dd94b39180b
NFSD: Modernize nfsd4_release_lockowner()

Refactor: Use existing helpers that other lock operations use. This
change removes several automatic variables, so re-organize the
variable declarations for readability.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c