OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ae309
)
ext2: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:39:00 +0000
(15:39 +0100)
committer
Jan Kara
<jack@suse.cz>
Mon, 10 Jan 2011 18:04:07 +0000
(19:04 +0100)
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>
fs/ext2/namei.c
patch
|
blob
|
history
diff --git
a/fs/ext2/namei.c
b/fs/ext2/namei.c
index
f8aecd2
..
2e1d834
100644
(file)
--- a/
fs/ext2/namei.c
+++ b/
fs/ext2/namei.c
@@
-67,7
+67,7
@@
static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, str
inode = NULL;
if (ino) {
inode = ext2_iget(dir->i_sb, ino);
- if (
unlikely(IS_ERR(inode)
)) {
+ if (
IS_ERR(inode
)) {
if (PTR_ERR(inode) == -ESTALE) {
ext2_error(dir->i_sb, __func__,
"deleted inode referenced: %lu",