aboutsummaryrefslogtreecommitdiffstats
path: root/src/dumm/cowfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dumm/cowfs.c')
-rw-r--r--src/dumm/cowfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumm/cowfs.c b/src/dumm/cowfs.c
index f3b169b7c..6e0fa9222 100644
--- a/src/dumm/cowfs.c
+++ b/src/dumm/cowfs.c
@@ -779,8 +779,8 @@ static void set_scenario(private_cowfs_t *this, char *path)
static void destroy(private_cowfs_t *this)
{
fuse_exit(this->fuse);
- pthread_join(this->thread, NULL);
fuse_unmount(this->mount, this->chan);
+ pthread_join(this->thread, NULL);
fuse_destroy(this->fuse);
free(this->mount);
free(this->master);