]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: support FSCONFIG_SET_FD for "fd" option
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 12 Mar 2026 19:30:08 +0000 (20:30 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 2 Apr 2026 18:53:00 +0000 (20:53 +0200)
commit2339f9cc9f080eff40432c0343d358ead39a4988
treede099b8fe04eaeb3144cf61bc79428fd7e2bd49a
parent4ae404afd92e36be378eb120a2dc13031cdac7a6
fuse: support FSCONFIG_SET_FD for "fd" option

This is not only cleaner to use in userspace (no need to sprintf the fd to
a string) but also allows userspace to detect that the devfd can be closed
after the fsconfig call.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/fuse/inode.c