diff options
| author | Miklos Szeredi <mszeredi@redhat.com> | 2026-03-19 15:40:10 +0100 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-06-15 14:06:16 +0200 |
| commit | b6d83d4e3eff4532c4c93d958dec78099ea37f5a (patch) | |
| tree | 62ad1b44ab7e797ec311e861c4c781bb85ea5f1f /fs/fuse/dev_uring_i.h | |
| parent | c1265fe4994b75fa378f6379705fb6c354a1cc6c (diff) | |
| download | linux-next-b6d83d4e3eff4532c4c93d958dec78099ea37f5a.tar.gz linux-next-b6d83d4e3eff4532c4c93d958dec78099ea37f5a.zip | |
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>
Diffstat (limited to 'fs/fuse/dev_uring_i.h')
| -rw-r--r-- | fs/fuse/dev_uring_i.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/fuse/dev_uring_i.h b/fs/fuse/dev_uring_i.h index c9fd92cb0f0d..8ba149e35423 100644 --- a/fs/fuse/dev_uring_i.h +++ b/fs/fuse/dev_uring_i.h @@ -136,8 +136,6 @@ struct fuse_ring { bool ready; }; -bool fuse_uring_enabled(void); -void fuse_uring_destruct(struct fuse_conn *fc); void fuse_uring_stop_queues(struct fuse_ring *ring); void fuse_uring_abort_end_requests(struct fuse_ring *ring); int fuse_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags); @@ -177,15 +175,6 @@ static inline bool fuse_uring_ready(struct fuse_conn *fc) #else /* CONFIG_FUSE_IO_URING */ -static inline void fuse_uring_destruct(struct fuse_conn *fc) -{ -} - -static inline bool fuse_uring_enabled(void) -{ - return false; -} - static inline void fuse_uring_abort(struct fuse_conn *fc) { } |
