diff options
author | 2013-12-10 13:43:05 +0000 | |
---|---|---|
committer | 2013-12-10 13:43:05 +0000 | |
commit | 48ee6ddae4f597f9a3e3f1545db1cd49e01bbe7a (patch) | |
tree | 585ee5c53640b7f51eedf697c8559279a21a1927 /sys/kern/kern_task.c | |
parent | Remove an attempt to free a non-heap object. (diff) | |
download | wireguard-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