]> git.baikalelectronics.ru Git - kernel.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)
commitf3c032c8f73fbf7f33c5a8d36359e24c7dd70a6c
treef8f0a126c52bd9cc9680cd2b12bad973066acf67
parent9348c7a5805c614ff3750161a02353648256d48c
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