Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26978
b: refs/heads/master
c: 3ac8141
h: refs/heads/master
v: v3
  • Loading branch information
Florin Malita authored and Linus Torvalds committed May 26, 2006
1 parent 25be7b7 commit 74e1a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9084533e797f131c923c8883adf91cc2f7ddcfae
refs/heads/master: 3ac8141366932a74fd8620afaebd66960c91196d
3 changes: 1 addition & 2 deletions trunk/fs/affs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,9 @@ affs_rename(struct inode *old_dir, struct dentry *old_dentry,
return retval;
}

retval = -EIO;
bh = affs_bread(sb, old_dentry->d_inode->i_ino);
if (!bh)
goto done;
return -EIO;

/* Remove header from its parent directory. */
affs_lock_dir(old_dir);
Expand Down

0 comments on commit 74e1a68

Please sign in to comment.