mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-17 03:58:36 +00:00
NFSv4: Ensure that we return the delegation on the target of a rename too.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
40859d7ee6
commit
24174119c7
1 changed files with 3 additions and 1 deletions
|
@ -1550,8 +1550,10 @@ go_ahead:
|
||||||
}
|
}
|
||||||
nfs_inode_return_delegation(old_inode);
|
nfs_inode_return_delegation(old_inode);
|
||||||
|
|
||||||
if (new_inode)
|
if (new_inode != NULL) {
|
||||||
|
nfs_inode_return_delegation(new_inode);
|
||||||
d_delete(new_dentry);
|
d_delete(new_dentry);
|
||||||
|
}
|
||||||
|
|
||||||
nfs_begin_data_update(old_dir);
|
nfs_begin_data_update(old_dir);
|
||||||
nfs_begin_data_update(new_dir);
|
nfs_begin_data_update(new_dir);
|
||||||
|
|
Loading…
Add table
Reference in a new issue