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:
131441b
)
- wrong fid is used in mdt_is_subdir()
author
tappro
<tappro>
Sat, 23 Sep 2006 13:31:52 +0000
(13:31 +0000)
committer
tappro
<tappro>
Sat, 23 Sep 2006 13:31:52 +0000
(13:31 +0000)
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
03dcf77
..
8a420b8
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-408,8
+408,9
@@
static int mdt_is_subdir(struct mdt_thread_info *info)
* We save last checked parent fid to @repbody->fid1 for remote
* directory case.
*/
+ LASSERT(fid_is_sane(&info->mti_body->fid2));
rc = mdo_is_subdir(info->mti_ctxt, mdt_object_child(obj),
- &info->mti_
tmp_
fid2, &repbody->fid1);
+ &info->mti_
body->
fid2, &repbody->fid1);
if (rc < 0)
RETURN(rc);