Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fcbca17
)
b=17807
author
vs
<vs>
Sat, 31 Jan 2009 14:36:51 +0000
(14:36 +0000)
committer
vs
<vs>
Sat, 31 Jan 2009 14:36:51 +0000
(14:36 +0000)
i=nikita
i=huanghua
ll_revalidate_nd: do not return 0 in case of error
lustre/llite/dcache.c
patch
|
blob
|
history
diff --git
a/lustre/llite/dcache.c
b/lustre/llite/dcache.c
index
d4e4705
..
31fdff5
100644
(file)
--- a/
lustre/llite/dcache.c
+++ b/
lustre/llite/dcache.c
@@
-770,7
+770,7
@@
int ll_revalidate_nd(struct dentry *dentry, struct nameidata *nd)
* nd->intent.open.file for error, so we need to return it as lookup's result
* instead */
if (IS_ERR(filp))
- rc =
0
;
+ rc =
PTR_ERR(filp)
;
#endif
}
#else