Whamcloud - gitweb
No dput's, the VFS does this. Some sanity with rename appears to
authorbraam <braam>
Wed, 21 Aug 2002 19:30:13 +0000 (19:30 +0000)
committerbraam <braam>
Wed, 21 Aug 2002 19:30:13 +0000 (19:30 +0000)
begin surfacing now.

lustre/llite/namei.c

index 128b361..d0d6766 100644 (file)
@@ -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);
         }