Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
23150cb
)
Don't assert bitmap exists - it won't for error-during-setup self-export destroy
author
adilger
<adilger>
Wed, 17 Mar 2004 20:55:58 +0000
(20:55 +0000)
committer
adilger
<adilger>
Wed, 17 Mar 2004 20:55:58 +0000
(20:55 +0000)
b=2936
r=robert
lustre/mds/mds_fs.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_fs.c
b/lustre/mds/mds_fs.c
index
9bbb11a
..
7979092
100644
(file)
--- 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)) {