diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-05-30 23:11:52 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-05-31 22:02:16 +0300 |
commit | ed7e9ad0908a8c2a502f49ceed940d0ce122fe8b (patch) | |
tree | 45c6f3d289a084cae5415695591bb9ad7316f6cd /fs/nfs/nfs3proc.c | |
parent | 991eedb1371dc09b0f9848f59c8898fe63d198c0 (diff) | |
download | linux-ed7e9ad0908a8c2a502f49ceed940d0ce122fe8b.tar.xz |
NFSv4: Fix sillyrename to return the delegation when appropriate
Ensure that we pass down the inode of the file being deleted so
that we can return any delegation being held.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r-- | fs/nfs/nfs3proc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index 6ed6a4195906..5645ef4c5259 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c @@ -414,7 +414,9 @@ out: } static void -nfs3_proc_unlink_setup(struct rpc_message *msg, struct dentry *dentry) +nfs3_proc_unlink_setup(struct rpc_message *msg, + struct dentry *dentry, + struct inode *inode) { msg->rpc_proc = &nfs3_procedures[NFS3PROC_REMOVE]; } |