From 8fae29926b65747c117c09d6debd26ed05d49396 Mon Sep 17 00:00:00 2001 From: huanghua Date: Fri, 13 Oct 2006 04:25:03 +0000 Subject: [PATCH] fix a typo --- lustre/mdd/mdd_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1