Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=19808 fix d_obtain_alias() misuse due to compat macro.
[fs/lustre-release.git]
/
lustre
/
llite
/
llite_nfs.c
diff --git
a/lustre/llite/llite_nfs.c
b/lustre/llite/llite_nfs.c
index
25352ae
..
40b8513
100644
(file)
--- a/
lustre/llite/llite_nfs.c
+++ b/
lustre/llite/llite_nfs.c
@@
-138,10
+138,8
@@
static struct dentry *ll_iget_for_nfs(struct super_block *sb,
}
result = d_obtain_alias(inode);
- if (!result) {
- iput(inode);
+ if (!result)
RETURN(ERR_PTR(-ENOMEM));
- }
ll_dops_init(result, 1);