projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hppfs: fix the return value of get_inode()
[linux-2.6-microblaze.git]
/
fs
/
hppfs
/
hppfs.c
diff --git
a/fs/hppfs/hppfs.c
b/fs/hppfs/hppfs.c
index
a68cb20
..
78f21f8
100644
(file)
--- a/
fs/hppfs/hppfs.c
+++ b/
fs/hppfs/hppfs.c
@@
-674,7
+674,7
@@
static struct inode *get_inode(struct super_block *sb, struct dentry *dentry)
if (!inode) {
dput(dentry);
- return
ERR_PTR(-ENOMEM)
;
+ return
NULL
;
}
if (S_ISDIR(dentry->d_inode->i_mode)) {