OSDN Git Service

NFSv4: nfs_inode_evict_delegation() should set NFS_DELEGATION_RETURNING
authorTrond Myklebust <trondmy@gmail.com>
Mon, 27 Jan 2020 14:58:15 +0000 (09:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 21:35:07 +0000 (16:35 -0500)
commitf885ea640d65d98c8f1a326efb3abe13f1865c89
treed4b08a64a629e7641f5d86e41275de5dbc1b8999
parent65f5160376212094b477c7309ba9867e69ec69d5
NFSv4: nfs_inode_evict_delegation() should set NFS_DELEGATION_RETURNING

In particular, the pnfs return-on-close code will check for that flag,
so ensure we set it appropriately.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c