]> git.ipfire.org Git - thirdparty/linux.git/commit
fuse: don't access transport layer structs directly from the fs layer
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 19 Mar 2026 14:40:10 +0000 (15:40 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 15 Jun 2026 12:06:16 +0000 (14:06 +0200)
commitb6d83d4e3eff4532c4c93d958dec78099ea37f5a
tree62ad1b44ab7e797ec311e861c4c781bb85ea5f1f
parentc1265fe4994b75fa378f6379705fb6c354a1cc6c
fuse: don't access transport layer structs directly from the fs layer

Add helpers (get and set functions mainly) that cleanly separate the
layers.

Remove #include "fuse_dev_i.h" from:

 - inode.c
 - file.c
 - control.c

Remove #include "dev_uring_i.h" from inode.c.

[Li Wang: drop redundant initializer in process_init_limits()]

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/control.c
fs/fuse/dev.c
fs/fuse/dev.h
fs/fuse/dev_uring.c
fs/fuse/dev_uring_i.h
fs/fuse/file.c
fs/fuse/fuse_i.h
fs/fuse/inode.c