]> 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)
commite853cbd16ab7283354795eb9024159860b1ddddb
treef8f0a126c52bd9cc9680cd2b12bad973066acf67
parentfeb0cdf48cb6c5ba463fff24684213d8b33b58f9
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