summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-06-10 07:02:27 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-30 14:36:26 -0700
commit745138508b9688b573e8f13eb9c15cb3301948df (patch)
tree2a12bd89cad737c81ee6b18ad60ff5f819d730e0 /booster
parent804714c01420102e08882e138d9d7071e17ad355 (diff)
booster: fix memory corruption in booster_cleanup
- calling glusterfs_umount_all leads to memory corruption. hence commenting out for timebeing. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'booster')
-rw-r--r--booster/src/booster.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index 04a8906..4961cc2 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -1099,10 +1099,16 @@ booster_cleanup (void)
free (booster_glfs_fdtable);
booster_glfs_fdtable = NULL;
- /* FIXME: there may be issues during execution of fini of individual
- xlators due to inconsistent lock states.
- */
- glusterfs_umount_all ();
+ /*
+ * FIXME: there may be issues during execution of fini of individual
+ * xlators due to inconsistent lock states.
+ */
+
+ /*
+ * as above FIXME says, glusterfs_umount_all indeed leads to memory
+ * corruption, hence commenting out
+ */
+ /* glusterfs_umount_all (); */
glusterfs_reset ();
}