Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Martin Pelikan (pelikancvs.openbsd.org)
Date: Tue Dec 10 2013 - 07:43:05 CST
Module name: src
Changes by: pelikancvs.openbsd.org 2013/12/10 06:43:05
sys/miscfs/fuse: fuse_device.c fuse_vfsops.c fusefs.h
Unset fuse_mnt in fusefs_unmount after vflushing and freeing fbufs in use.
This way, if fuse unmounts a FS without FBT_DESTROY, the fuse_mnt pointer
is already invalidated. Also, on weird unmount situations with vnodes in
use, vflush() them before doing fuse_device_cleanup().
Tested with ntfs-3g, ok syl.