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:
52db0ea
)
fix a defect introduced by last commit:
author
huanghua
<huanghua>
Wed, 16 Aug 2006 07:26:52 +0000
(07:26 +0000)
committer
huanghua
<huanghua>
Wed, 16 Aug 2006 07:26:52 +0000
(07:26 +0000)
we return success to client when object locates on another server.
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
55cd758
..
25c6288
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-239,7
+239,7
@@
static int mdt_getattr_internal(struct mdt_thread_info *info,
/* This object is located on remote node.*/
repbody->fid1 = *mdt_object_fid(o);
repbody->valid |= OBD_MD_FLID;
- RETURN(
rc
);
+ RETURN(
0
);
} else if (rc){
CERROR("getattr error for "DFID": %d\n",
PFID(mdt_object_fid(o)), rc);