提交 a4118ee1 编写于 作者: A Al Viro

a couple of open-coded ihold() introduced by nfs merge

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 18cb657c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册