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:
ed4f32f
)
mdd_lookup(): use mdd_dt_lookup()
author
nikita
<nikita>
Wed, 17 May 2006 22:05:25 +0000
(22:05 +0000)
committer
nikita
<nikita>
Wed, 17 May 2006 22:05:25 +0000
(22:05 +0000)
lustre/mdd/mdd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_handler.c
b/lustre/mdd/mdd_handler.c
index
8488179
..
5c1ff99
100644
(file)
--- a/
lustre/mdd/mdd_handler.c
+++ b/
lustre/mdd/mdd_handler.c
@@
-753,9
+753,7
@@
cleanup:
static int mdd_lookup(struct lu_context *ctxt, struct md_object *pobj,
const char *name, struct lu_fid* fid)
{
- struct dt_object *next = mdd_object_child(mdo2mddo(pobj));
-
- return next->do_index_ops->dio_lookup(ctxt, next, fid, name);
+ return mdd_dt_lookup(ctxt, mdo2mdd(pobj), mdo2mddo(pobj), name, fid);
}
static int mdd_mkdir(struct lu_context *ctxt, struct lu_attr* attr,