Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139644
b: refs/heads/master
c: de18f3b
h: refs/heads/master
v: v3
  • Loading branch information
Bryan Donlan authored and Linus Torvalds committed Apr 3, 2009
1 parent 7674fa5 commit 3969f8d
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 45f902178022439795a21e14f886b8ccb49a75d2
refs/heads/master: de18f3b2d68c1f3481839be760a5ff93f6a9a5e5
12 changes: 10 additions & 2 deletions trunk/fs/ext3/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,8 +1047,16 @@ static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, str
return ERR_PTR(-EIO);
}
inode = ext3_iget(dir->i_sb, ino);
if (IS_ERR(inode))
return ERR_CAST(inode);
if (unlikely(IS_ERR(inode))) {
if (PTR_ERR(inode) == -ESTALE) {
ext3_error(dir->i_sb, __func__,
"deleted inode referenced: %lu",
ino);
return ERR_PTR(-EIO);
} else {
return ERR_CAST(inode);
}
}
}
return d_splice_alias(inode, dentry);
}
Expand Down

0 comments on commit 3969f8d

Please sign in to comment.