From: tappro Date: Fri, 23 Jun 2006 15:40:19 +0000 (+0000) Subject: small fix X-Git-Tag: v1_8_0_110~486^2~1556 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=69fb0ab7ebed17f946ae3c372812f9f06a5566d1;p=fs%2Flustre-release.git small fix --- diff --git a/lustre/cmm/cmm_device.c b/lustre/cmm/cmm_device.c index c20d911..9e8c87a 100644 --- a/lustre/cmm/cmm_device.c +++ b/lustre/cmm/cmm_device.c @@ -157,7 +157,7 @@ static int cmm_process_config(const struct lu_context *ctx, case LCFG_ADD_MDC: err = cmm_add_mdc(ctx, m, cfg); /* the first ADD_MDC can be counted as setup is finished */ - if (m->cmm_flags & CMM_INITIALIZED == 0) + if ((m->cmm_flags & CMM_INITIALIZED) == 0) m->cmm_flags |= CMM_INITIALIZED; break; case LCFG_SETUP: