From: adilger Date: Wed, 17 Mar 2004 20:55:58 +0000 (+0000) Subject: Don't assert bitmap exists - it won't for error-during-setup self-export destroy X-Git-Tag: v1_7_100~2450 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=016929cd3acbf3c315ea56c96ce75b8efe00f4c0 Don't assert bitmap exists - it won't for error-during-setup self-export destroy b=2936 r=robert --- diff --git a/lustre/mds/mds_fs.c b/lustre/mds/mds_fs.c index 9bbb11a..7979092 100644 --- a/lustre/mds/mds_fs.c +++ b/lustre/mds/mds_fs.c @@ -127,7 +127,6 @@ int mds_client_free(struct obd_export *exp, int clear_client) int rc; unsigned long *bitmap = mds->mds_client_bitmap; - LASSERT(bitmap); if (!med->med_mcd) RETURN(0); @@ -138,6 +137,7 @@ int mds_client_free(struct obd_export *exp, int clear_client) CDEBUG(D_INFO, "freeing client at idx %u (%lld)with UUID '%s'\n", med->med_idx, med->med_off, med->med_mcd->mcd_uuid); + LASSERT(bitmap); /* Clear the bit _after_ zeroing out the client so we don't race with mds_client_add and zero out new clients.*/ if (!test_bit(med->med_idx, bitmap)) {