From: huanghua Date: Fri, 13 Oct 2006 04:25:03 +0000 (+0000) Subject: fix a typo X-Git-Tag: v1_8_0_110~486^2~567 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8fae29926b65747c117c09d6debd26ed05d49396;p=fs%2Flustre-release.git fix a typo --- diff --git a/lustre/mdd/mdd_handler.c b/lustre/mdd/mdd_handler.c index 7daf4d3..1f73d7d 100644 --- a/lustre/mdd/mdd_handler.c +++ b/lustre/mdd/mdd_handler.c @@ -2747,7 +2747,7 @@ static int mdd_rt_sanity_check(const struct lu_env *env, } /* source should not be ancestor of target dir */ - if (!rc &&& src_is_dir && mdd_is_parent(env, mdd, tgt_pobj, sfid, NULL)) + if (rc == 0 && src_is_dir && mdd_is_parent(env, mdd, tgt_pobj, sfid, NULL)) RETURN(-EINVAL); RETURN(rc);