fuse_kern_unmount(): close fd before calling umount
authorNikolaus Rath <Nikolaus@rath.org>
Mon, 11 Sep 2017 10:19:06 +0000 (11:19 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 11 Sep 2017 10:19:06 +0000 (11:19 +0100)
commita6c7eab4ccdfc0b71902ef36fd2ba7634f77a0ec
tree6bc858613baa9c9ed1f5acee065412c1cafc3dda
parent21b55a05a158b1c225ba312529bc068cadd5431d
fuse_kern_unmount(): close fd before calling umount

This is what the Linux version does, and it fixes a
timeout under FreeBSD when the kernel sends a FUSE_DESTROY
request that is never answered.
lib/mount_bsd.c