]> asedeno.scripts.mit.edu Git - linux.git/commit
nfsd: factor out common delegation-destruction code
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 21 Feb 2018 20:11:03 +0000 (15:11 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 20 Mar 2018 21:51:13 +0000 (17:51 -0400)
commit0af6e690f0d4e8196f6cfa10bad5c9ffff565d9b
treef8f0a126c52bd9cc9680cd2b12bad973066acf67
parent68b18f52947bbe77bc9ddb23626f30ed5cf70641
nfsd: factor out common delegation-destruction code

Pull some duplicated code into a common helper.

This changes the order in destroy_delegation a little, but it looks to
me like that shouldn't matter.

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