Skip to content

Commit 24c54f9

Browse files
YueHaibingmikeNG
authored andcommitted
UPSTREAM: fuse: Make fuse_args_to_req static
Fix sparse warning: fs/fuse/dev.c:468:6: warning: symbol 'fuse_args_to_req' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Change-Id: I146d84a8ebd02722d89b8cce01ece9e58b3b72cc Signed-off-by: YueHaibing <yuehaibing@huawei.com> Fixes: 68583165f962 ("fuse: add pages to fuse_args") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent b753af6 commit 24c54f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/fuse/dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ static void fuse_force_creds(struct fuse_conn *fc, struct fuse_req *req)
469469
req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns);
470470
}
471471

472-
void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args)
472+
static void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args)
473473
{
474474
req->in.h.opcode = args->opcode;
475475
req->in.h.nodeid = args->nodeid;

0 commit comments

Comments
 (0)