mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
991eedb137
commit
ed7e9ad090
5 changed files with 15 additions and 10 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue