projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
efs: iget_locked() doesn't return an ERR_PTR()
[cascardo/linux.git]
/
fs
/
efs
/
inode.c
diff --git
a/fs/efs/inode.c
b/fs/efs/inode.c
index
f3913eb
..
d15ccf2
100644
(file)
--- a/
fs/efs/inode.c
+++ b/
fs/efs/inode.c
@@
-57,7
+57,7
@@
struct inode *efs_iget(struct super_block *super, unsigned long ino)
struct inode *inode;
inode = iget_locked(super, ino);
- if (
IS_ERR(inode)
)
+ if (
!inode
)
return ERR_PTR(-ENOMEM);
if (!(inode->i_state & I_NEW))
return inode;