From f9dc4718d57c4933b0b4e7f436ef757b0d5401da Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 17 May 2006 22:05:25 +0000 Subject: [PATCH] mdd_lookup(): use mdd_dt_lookup() --- lustre/mdd/mdd_handler.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lustre/mdd/mdd_handler.c b/lustre/mdd/mdd_handler.c index 8488179..5c1ff99 100644 --- 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, -- 1.8.3.1