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:
18cb657
)
a couple of open-coded ihold() introduced by nfs merge
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 27 Oct 2010 15:00:08 +0000
(11:00 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 29 Oct 2010 08:14:48 +0000
(
04:14
-0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/unlink.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/unlink.c
b/fs/nfs/unlink.c
index 9a16bad5d2eaf4dad7d99e8b89d83576a3f163a1..7bdec8531400a8955d2292221debb83004bcd29f 100644
(file)
--- a/
fs/nfs/unlink.c
+++ b/
fs/nfs/unlink.c
@@
-444,9
+444,9
@@
nfs_async_rename(struct inode *old_dir, struct inode *new_dir,
/* set up nfs_renamedata */
data->old_dir = old_dir;
-
atomic_inc(&old_dir->i_count
);
+
ihold(old_dir
);
data->new_dir = new_dir;
-
atomic_inc(&new_dir->i_count
);
+
ihold(new_dir
);
data->old_dentry = dget(old_dentry);
data->new_dentry = dget(new_dentry);
nfs_fattr_init(&data->old_fattr);