]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Ensure we honour NFS_DELEGATION_RETURNING in nfs_inode_set_delegation()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Feb 2015 19:25:50 +0000 (14:25 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 2 Mar 2015 23:09:14 +0000 (18:09 -0500)
commitdb545827adf3a2a2dfa50a096510679ca811f225
tree9a88d7c034768ad576e0434e73ed435656b0a213
parente1b3f19afd16c27a6ab640bffdcae071300d6b7b
NFSv4: Ensure we honour NFS_DELEGATION_RETURNING in nfs_inode_set_delegation()

Ensure that nfs_inode_set_delegation() doesn't inadvertently detach a
delegation that is already in the process of being returned.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/delegation.c