Files
linux/fs
Miklos Szeredi d42eb23b2e fuse: don't require /dev/fuse fd to be kept open during mount
With the new mount API the sequence of syscalls would be:

        fs_fd = fsopen("fuse", 0);
	snprintf(opt, sizeof(opt), "%i", devfd);
	fsconfig(fs_fd, FSCONFIG_SET_STRING, "fd", opt, 0);
	/* ... */
	fsconfig(fs_fd, FSCONFIG_CMD_CREATE, 0, 0, 0);

Current mount code just stores the value of devfd in the fs_context and
uses it in during FSCONFIG_CMD_CREATE, which is inelegant.

Instead grab a reference to the underlying fuse_dev, and use that during
the filesystem creation.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2026-04-02 20:43:25 +02:00
..
2026-01-02 13:43:41 -05:00
2025-11-28 12:42:31 +01:00
2026-01-12 16:52:09 +01:00
2026-01-16 19:21:40 +01:00
2026-01-12 16:52:09 +01:00