X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Flmv%2Flmv_intent.c;fp=lustre%2Flmv%2Flmv_intent.c;h=5cc1687cbc55d3a0dc0c7dae2592f3d405df980e;hb=bfbd062e6b177cf934b75d6be2db695b9fe1648b;hp=86e666eb5d4757d2ba9eb109f8e7e5ce0ff0de79;hpb=b915221b6d0f3457fd9dd202a9d14c5f8385bf47;p=fs%2Flustre-release.git diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index 86e666e..5cc1687 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -74,13 +74,6 @@ static int lmv_intent_remote(struct obd_export *exp, struct lookup_intent *it, LASSERT((body->mbo_valid & OBD_MD_MDS)); /* - * Unfortunately, we have to lie to MDC/MDS to retrieve - * attributes llite needs and provideproper locking. - */ - if (it->it_op & IT_LOOKUP) - it->it_op = IT_GETATTR; - - /* * We got LOOKUP lock, but we really need attrs. */ pmode = it->it_lock_mode;