Whamcloud - gitweb
fix a typo
authorhuanghua <huanghua>
Fri, 13 Oct 2006 04:25:03 +0000 (04:25 +0000)
committerhuanghua <huanghua>
Fri, 13 Oct 2006 04:25:03 +0000 (04:25 +0000)
lustre/mdd/mdd_handler.c

index 7daf4d3..1f73d7d 100644 (file)
@@ -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);