fix: close fuse device before calling umount to prevent deadlock after a
SIGTERM if synchronous umount is used (Miklos Szeredi, Szabolcs Szakacsits)master
parent
67997a4d88
commit
a33787171c
|
@ -283,6 +283,7 @@ void fuse_kern_unmount(const char *mountpoint, int fd)
|
|||
if (res == 1 && (pfd.revents & POLLERR))
|
||||
return;
|
||||
}
|
||||
close(fd);
|
||||
|
||||
if (geteuid() == 0) {
|
||||
fuse_mnt_umount("fuse", mountpoint, 1);
|
||||
|
|
Loading…
Reference in New Issue