struct fuse_iqueue *fiq = &fc->chan->iq;
int err;
- if (!fc->no_interrupt) {
+ if (!fc->chan->no_interrupt) {
/* Any signal may interrupt this */
err = wait_event_interruptible(req->waitq,
test_bit(FR_FINISHED, &req->flags));
if (nbytes != sizeof(struct fuse_out_header))
err = -EINVAL;
else if (oh.error == -ENOSYS)
- fc->no_interrupt = 1;
+ fc->chan->no_interrupt = true;
else if (oh.error == -EAGAIN)
err = queue_interrupt(req);
/** The number of requests waiting for completion */
atomic_t num_waiting;
+ /** Is interrupt not implemented by fs? */
+ bool no_interrupt;
+
/* Use io_uring for communication */
unsigned int io_uring;
/** Is create not implemented by fs? */
unsigned no_create:1;
- /** Is interrupt not implemented by fs? */
- unsigned no_interrupt:1;
-
/** Is bmap not implemented by fs? */
unsigned no_bmap:1;