summaryrefslogtreecommitdiff
path: root/fs/fuse/dev.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2026-03-26 16:11:52 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2026-06-15 14:06:17 +0200
commita697d95fcdbb3bbe25cdc29db5542ddcebb831c1 (patch)
tree5e2a5285478d8f78c4c3e2e19899ddc76799948f /fs/fuse/dev.c
parent229f9b9b66ab5be9e015422cf30b97740cfbdc8d (diff)
downloadlinux-a697d95fcdbb3bbe25cdc29db5542ddcebb831c1.tar.gz
linux-a697d95fcdbb3bbe25cdc29db5542ddcebb831c1.zip
fuse: remove fm arg of args->end callback
Only used by FUSE_INIT and CUSE_INIT, these can store the relevant pointer in their structs derived from fuse_args. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r--fs/fuse/dev.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index c4a6ee948282..d933d030f78c 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -649,7 +649,7 @@ void fuse_request_end(struct fuse_req *req)
}
if (test_bit(FR_ASYNC, &req->flags))
- req->args->end(fm, req->args, req->out.h.error);
+ req->args->end(req->args, req->out.h.error);
put_request:
fuse_put_request(req);
}
@@ -1988,8 +1988,7 @@ struct fuse_retrieve_args {
struct fuse_notify_retrieve_in inarg;
};
-static void fuse_retrieve_end(struct fuse_mount *fm, struct fuse_args *args,
- int error)
+static void fuse_retrieve_end(struct fuse_args *args, int error)
{
struct fuse_retrieve_args *ra =
container_of(args, typeof(*ra), ap.args);
@@ -2076,7 +2075,7 @@ static int fuse_retrieve(struct fuse_mount *fm, struct inode *inode,
err = fuse_simple_notify_reply(fm, args, outarg->notify_unique);
if (err)
- fuse_retrieve_end(fm, args, err);
+ fuse_retrieve_end(args, err);
return err;
}