diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-03-20 16:43:16 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-04-10 16:06:22 -0400 |
commit | f2c2c552f119db84d85a53a8bd76479f34df02b1 (patch) | |
tree | a280fb60144a23f872b3fc3ffae365c4ed6abaa3 /fs/nfs/proc.c | |
parent | 912678dbc592db7ad618f383866ad23e43cd51f3 (diff) | |
download | op-kernel-dev-f2c2c552f119db84d85a53a8bd76479f34df02b1.zip op-kernel-dev-f2c2c552f119db84d85a53a8bd76479f34df02b1.tar.gz |
NFS: Move delegation recall into the NFSv4 callback for rename_setup()
Move the delegation recall out of the generic code, and into the NFSv4
specific callback.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index b2e81a1..39dc927 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c @@ -338,7 +338,9 @@ static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) } static void -nfs_proc_rename_setup(struct rpc_message *msg, struct inode *dir) +nfs_proc_rename_setup(struct rpc_message *msg, + struct dentry *old_dentry, + struct dentry *new_dentry) { msg->rpc_proc = &nfs_procedures[NFSPROC_RENAME]; } |