[GIT PULL] fuse update for 6.15

From: Miklos Szeredi
Date: Tue Apr 01 2025 - 07:03:00 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git
tags/fuse-update-6.15

- Allow connection to server to time out (Joanne Koong)

- If server doesn't support creating a hard link, return EPERM rather
than ENOSYS (Matt Johnston)

- Allow file names longer than 1024 chars (Bernd Schubert)

- Fix a possible race if request on io_uring queue is interrupted
(Bernd Schubert)

- Misc fixes and cleanups

Commit 1dfe2a220e9c ("fuse: fix uring race condition for null
dereference of fc") in this queue has already been merged into
v6.14-final through Christian's tree (commit d9ecc77193ca). For some
reason this causes a merge conflict, the resolution of which is to
just take the version from this pull (i.e. remove the atomic_set()).

Thanks,
Miklos
---

Bernd Schubert (3):
fuse: {io-uring} Fix a possible req cancellation race
fuse: Allocate only namelen buf memory in fuse_notify_
fuse: Increase FUSE_NAME_MAX to PATH_MAX

Joanne Koong (4):
fuse: add kernel-enforced timeout option for requests
fuse: add default_request_timeout and max_request_timeout sysctls
fuse: fix uring race condition for null dereference of fc
fuse: remove unneeded atomic set in uring creation

Luis Henriques (1):
fuse: removed unused function fuse_uring_create() from header

Matt Johnston (1):
fuse: Return EPERM rather than ENOSYS from link()

Miklos Szeredi (1):
fuse: optmize missing FUSE_LINK support

---
Documentation/admin-guide/sysctl/fs.rst | 25 +++++
fs/fuse/dev.c | 162 +++++++++++++++++++++++++++-----
fs/fuse/dev_uring.c | 47 +++++++--
fs/fuse/dev_uring_i.h | 18 ++--
fs/fuse/dir.c | 11 ++-
fs/fuse/fuse_dev_i.h | 4 +
fs/fuse/fuse_i.h | 47 ++++++++-
fs/fuse/inode.c | 51 +++++++++-
fs/fuse/sysctl.c | 24 +++++
include/uapi/linux/fuse.h | 12 ++-
10 files changed, 358 insertions(+), 43 deletions(-)