Change session->exited to sig_atomic_t

This commit is contained in:
Antonio SJ Musumeci 2026-03-10 19:00:58 -05:00 • committed by trapexit
parent aa91e1b2ba
commit 82b89aa099

View file

@ -14,6 +14,8 @@
#include "extern_c.h"
#include <signal.h>
/* Simplified fuse_session - fields inlined from former fuse_chan
* Since mergerfs only supports one mount, we collapse the hierarchy:
* fuse_session -> fuse_chan -> fd
@ -30,7 +32,7 @@ struct fuse_session
void (*destroy)(void *data);
struct fuse_ll *f;
volatile int exited;
volatile sig_atomic_t exited;
/* Formerly in fuse_chan - inlined for single-mount simplicity */
int fd; /* /dev/fuse file descriptor */