Re: [PATCH] fuse: preserve ENOTCONN after failed initialization and disconnect

From: Miklos Szeredi

Date: Tue Nov 17 2026 - 11:47:21 EST


On Sat, 17 Oct 2026 at 11:46, <hengyul@xxxxxxxxxx> wrote:

> Record INIT failure in the channel before publishing initialized, and
> check it in fuse_get_req() after waiting for initialization and checking
> for disconnection. This preserves ECONNREFUSED for failed INIT while
> the device remains open, and restores ENOTCONN after disconnection.

Applied with minor tweaks.

Thanks,
Miklos