From 3ab2e4cbc23a012ddbdaf409bf7fa972bae6f7db Mon Sep 17 00:00:00 2001 From: Horst Birthelmer Date: Thu, 5 Feb 2026 20:01:54 +0100 Subject: [PATCH] fuse: cleanup, remove fuse_compound_request() from dev.c Since we're using fuse_simple_request() directly we don't need the old function any more. Signed-off-by: Horst Birthelmer (cherry picked from commit 5eb1d088edd6fb496c25dd1c8f6d4670a920e518) --- fs/fuse/dev.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 179bbf5f231509..0e457991953d3e 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -504,30 +504,6 @@ static void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args) req->in.h.unique = fuse_get_unique(&req->fm->fc->iq); } -ssize_t fuse_compound_request(struct fuse_mount *fm, struct fuse_args *args) -{ - struct fuse_req *req; - ssize_t ret; - - req = fuse_get_req(fm, false); - if (IS_ERR(req)) - return PTR_ERR(req); - - fuse_args_to_req(req, args); - - if (!args->noreply) - __set_bit(FR_ISREPLY, &req->flags); - - __fuse_request_send(req); - ret = req->out.h.error; - if (!ret && args->out_argvar) { - BUG_ON(args->out_numargs == 0); - ret = args->out_args[args->out_numargs - 1].size; - } - fuse_put_request(req); - return ret; -} - ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args) { struct fuse_conn *fc = fm->fc;