aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-12-09 09:39:34 -0500
committerJan Kara <jack@suse.cz>2011-01-10 13:04:07 -0500
commit8057b9653923bd762d89ccb730c76cba40ce96f0 (patch)
tree584bf668b25fdca7aa7da48f60319f3a701f6419 /fs/ext3
parent0ed0cca7aa87b1f5708f597075013c20d8359667 (diff)
ext3: Remove redundant unlikely()
IS_ERR() already implies unlikely(), so it can be omitted here. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index cc682ab55b73..b27ba71810ec 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -1038,7 +1038,7 @@ static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, str
1038 return ERR_PTR(-EIO); 1038 return ERR_PTR(-EIO);
1039 } 1039 }
1040 inode = ext3_iget(dir->i_sb, ino); 1040 inode = ext3_iget(dir->i_sb, ino);
1041 if (unlikely(IS_ERR(inode))) { 1041 if (IS_ERR(inode)) {
1042 if (PTR_ERR(inode) == -ESTALE) { 1042 if (PTR_ERR(inode) == -ESTALE) {
1043 ext3_error(dir->i_sb, __func__, 1043 ext3_error(dir->i_sb, __func__,
1044 "deleted inode referenced: %lu", 1044 "deleted inode referenced: %lu",