Loading fs/ext3/namei.c +2 −3 Original line number Diff line number Diff line Loading @@ -1783,7 +1783,7 @@ static int ext3_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) d_tmpfile(dentry, inode); err = ext3_orphan_add(handle, inode); if (err) goto err_drop_inode; goto err_unlock_inode; mark_inode_dirty(inode); unlock_new_inode(inode); } Loading @@ -1791,10 +1791,9 @@ static int ext3_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) goto retry; return err; err_drop_inode: err_unlock_inode: ext3_journal_stop(handle); unlock_new_inode(inode); iput(inode); return err; } Loading fs/ext4/namei.c +2 −3 Original line number Diff line number Diff line Loading @@ -2319,7 +2319,7 @@ static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) d_tmpfile(dentry, inode); err = ext4_orphan_add(handle, inode); if (err) goto err_drop_inode; goto err_unlock_inode; mark_inode_dirty(inode); unlock_new_inode(inode); } Loading @@ -2328,10 +2328,9 @@ static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) goto retry; return err; err_drop_inode: err_unlock_inode: ext4_journal_stop(handle); unlock_new_inode(inode); iput(inode); return err; } Loading Loading
fs/ext3/namei.c +2 −3 Original line number Diff line number Diff line Loading @@ -1783,7 +1783,7 @@ static int ext3_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) d_tmpfile(dentry, inode); err = ext3_orphan_add(handle, inode); if (err) goto err_drop_inode; goto err_unlock_inode; mark_inode_dirty(inode); unlock_new_inode(inode); } Loading @@ -1791,10 +1791,9 @@ static int ext3_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) if (err == -ENOSPC && ext3_should_retry_alloc(dir->i_sb, &retries)) goto retry; return err; err_drop_inode: err_unlock_inode: ext3_journal_stop(handle); unlock_new_inode(inode); iput(inode); return err; } Loading
fs/ext4/namei.c +2 −3 Original line number Diff line number Diff line Loading @@ -2319,7 +2319,7 @@ static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) d_tmpfile(dentry, inode); err = ext4_orphan_add(handle, inode); if (err) goto err_drop_inode; goto err_unlock_inode; mark_inode_dirty(inode); unlock_new_inode(inode); } Loading @@ -2328,10 +2328,9 @@ static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) goto retry; return err; err_drop_inode: err_unlock_inode: ext4_journal_stop(handle); unlock_new_inode(inode); iput(inode); return err; } Loading