From: braam Date: Wed, 21 Aug 2002 19:30:13 +0000 (+0000) Subject: No dput's, the VFS does this. Some sanity with rename appears to X-Git-Tag: 0.5.5~102 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=87c5f0a745720ee5e365a6cb2d23590d72b0526e;p=fs%2Flustre-release.git No dput's, the VFS does this. Some sanity with rename appears to begin surfacing now. --- diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index 128b361..d0d6766 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -645,7 +645,6 @@ static int ll_rename(struct inode * old_dir, struct dentry * old_dentry, if (new_inode) { new_inode->i_ctime = CURRENT_TIME; new_inode->i_nlink--; - dput(new_dentry); } GOTO(out, err = new_dentry->d_it->it_status); }