summaryrefslogtreecommitdiffstats
path: root/glusterfs-guts
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-09-24 00:49:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-24 01:19:01 -0700
commit881e5f243d3c56dcaf54595378beb91c45f1ded5 (patch)
tree0be1be3c8f42fe42b65a36afdb131d21dfeab0a6 /glusterfs-guts
parent7398c0a694343c15292f076dbb0ae8508004d003 (diff)
libglusterfsclient: Clean up fini and umount code paths
This patch cleans up the umount and fini paths in preparation to support waiting for unwind of all pending call frames. Two misc fixes are: 1. Fix to avoid deadlock in _libgf_umount by using _libgf_vmp_search_entry instead of libgf_vmp_search_exact_entry since the latter tries to take a lock already help by _libgf_umount. 2. Avoid a crash in _libgf_umount by deleting the vmp entry from the list before it gets freed. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 279 (File written with booster results in self-heal after dd exits) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=279
Diffstat (limited to 'glusterfs-guts')
0 files changed, 0 insertions, 0 deletions