summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_task.c
diff options
context:
space:
mode:
authorpelikan <pelikan@openbsd.org>2013-12-10 13:43:05 +0000
committerpelikan <pelikan@openbsd.org>2013-12-10 13:43:05 +0000
commit48ee6ddae4f597f9a3e3f1545db1cd49e01bbe7a (patch)
tree585ee5c53640b7f51eedf697c8559279a21a1927 /sys/kern/kern_task.c
parentRemove an attempt to free a non-heap object. (diff)
downloadwireguard-openbsd-48ee6ddae4f597f9a3e3f1545db1cd49e01bbe7a.tar.xz
wireguard-openbsd-48ee6ddae4f597f9a3e3f1545db1cd49e01bbe7a.zip
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@.
Diffstat (limited to 'sys/kern/kern_task.c')
0 files changed, 0 insertions, 0 deletions