summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-20 10:54:50 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-20 10:54:50 +0000
commit1f723a8a2a02b4657f1d286f98f714895e15a5d8 (patch)
tree6ba0b24df64e6d0837c4d08d2a2b2b601ba01e2e
parentf9fd352f38c3c3d9e7824b8cf84b8f86e2a6d392 (diff)
parent36962003f216b8176f1799bf22af4d258ee8e542 (diff)
downloadouroboros-1f723a8a2a02b4657f1d286f98f714895e15a5d8.tar.gz
ouroboros-1f723a8a2a02b4657f1d286f98f714895e15a5d8.zip
Merged in dstaesse/ouroboros/be-fuse-fix (pull request #603)
ipcpd: Fix shutdown of rib
-rw-r--r--src/lib/rib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/rib.c b/src/lib/rib.c
index b6c8e140..579d9aac 100644
--- a/src/lib/rib.c
+++ b/src/lib/rib.c
@@ -305,7 +305,10 @@ void rib_fini(void)
struct list_head * p;
struct list_head * h;
+ fuse_exit(rib.fuse);
+
fuse_unmount(rib.mnt, rib.ch);
+
pthread_join(rib.fuse_thr, NULL);
fuse_destroy(rib.fuse);