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
(parent:
1b50c8a
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Wed, 18 Oct 2006 06:41:35 +0000
(06:41 +0000)
committer
wangdi
<wangdi>
Wed, 18 Oct 2006 06:41:35 +0000
(06:41 +0000)
typo fix about raw lookup return value indicated by tappro
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
d85e84e
..
4d395e9
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-638,8
+638,9
@@
static int mdt_getattr_name_lock(struct mdt_thread_info *info,
}
rc = mdt_raw_lookup(info, parent, name, ldlm_rep);
- if (rc > 0) {
- CDEBUG(D_INFO, "Do raw lookup return \n");
+ if (rc != 0) {
+ if (rc > 0)
+ rc = 0;
RETURN(rc);
}