projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40859d7
)
NFSv4: Ensure that we return the delegation on the target of a rename too.
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 3 Jan 2006 08:55:33 +0000
(09:55 +0100)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:50 +0000
(14:58 -0500)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index c0d1a214572ce9e2a2b804b7fee7eab44e4963ff..e9255198f767b8af7b964a66f66e8be39fc597c6 100644
(file)
--- a/
fs/nfs/dir.c
+++ b/
fs/nfs/dir.c
@@
-1550,8
+1550,10
@@
go_ahead:
}
nfs_inode_return_delegation(old_inode);
- if (new_inode)
+ if (new_inode != NULL) {
+ nfs_inode_return_delegation(new_inode);
d_delete(new_dentry);
+ }
nfs_begin_data_update(old_dir);
nfs_begin_data_update(new_dir);