summaryrefslogtreecommitdiffstats
path: root/fs/fuse/dev.c
diff options
context:
space:
mode:
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>2024-09-06 16:34:51 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2024-09-23 11:07:55 +0200
commit0c6793823d2b0eb079f4c6f54d9cdf6b2beec9d8 (patch)
tree3160ea9c32673ca762b86a034eeecc48b0a495eb /fs/fuse/dev.c
parentfs/fuse: fix null-ptr-deref when checking SB_I_NOIDMAP flag (diff)
downloadlinux-0c6793823d2b0eb079f4c6f54d9cdf6b2beec9d8.tar.xz
linux-0c6793823d2b0eb079f4c6f54d9cdf6b2beec9d8.zip
fs/fuse: introduce and use fuse_simple_idmap_request() helper
Let's convert all existing callers properly. No functional changes intended. Suggested-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r--fs/fuse/dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 3e7912c65bc6..317d2b30b21f 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -539,9 +539,9 @@ static void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args)
__set_bit(FR_ASYNC, &req->flags);
}
-ssize_t fuse_simple_request(struct mnt_idmap *idmap,
- struct fuse_mount *fm,
- struct fuse_args *args)
+ssize_t __fuse_simple_request(struct mnt_idmap *idmap,
+ struct fuse_mount *fm,
+ struct fuse_args *args)
{
struct fuse_conn *fc = fm->fc;
struct fuse_req *req;