From 69fb0ab7ebed17f946ae3c372812f9f06a5566d1 Mon Sep 17 00:00:00 2001 From: tappro Date: Fri, 23 Jun 2006 15:40:19 +0000 Subject: [PATCH] small fix --- lustre/cmm/cmm_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 1.8.3.1