From: nikita Date: Wed, 17 May 2006 22:05:25 +0000 (+0000) Subject: mdd_lookup(): use mdd_dt_lookup() X-Git-Tag: v1_8_0_110~486^2~1805 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f9dc4718d57c4933b0b4e7f436ef757b0d5401da;p=fs%2Flustre-release.git mdd_lookup(): use mdd_dt_lookup() --- 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,