summaryrefslogtreecommitdiff
path: root/fs/fuse/backing.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2026-04-01 09:02:14 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2026-06-15 14:06:18 +0200
commitc0f817320d6afc8c609400e235f6f16636ed871b (patch)
tree82e36da16776e1ce7eaa2126330eb1a56975dddb /fs/fuse/backing.c
parentb03404ea3a05668d374c87741c397a4eeaf4dd81 (diff)
downloadlinux-next-c0f817320d6afc8c609400e235f6f16636ed871b.tar.gz
linux-next-c0f817320d6afc8c609400e235f6f16636ed871b.zip
fuse: remove #include "fuse_i.h" from dev.c and dev_uring.c
Move a couple of function declarations from fuse_i.h to dev.h and fuse_dev_i.h. Add fuse_conn_get_id() helper that retrieves the connection ID (s_dev) from fuse_conn. With the exception of cuse.c, virtio_fs.c and trace.c source files now either include fuse_i.h or fuse_dev_i/dev_uring_i.h but not both. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/backing.c')
-rw-r--r--fs/fuse/backing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/backing.c b/fs/fuse/backing.c
index d95dfa48483f..3d3f49c2dd42 100644
--- a/fs/fuse/backing.c
+++ b/fs/fuse/backing.c
@@ -5,6 +5,7 @@
* Copyright (c) 2023 CTERA Networks.
*/
+#include "dev.h"
#include "fuse_i.h"
#include <linux/file.h>