Skip to content

Commit 5addcd5

Browse files
YueHaibingMiklos Szeredi
authored andcommitted
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> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Fixes: 6858316 ("fuse: add pages to fuse_args") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 9ad09b1 commit 5addcd5

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
@@ -464,7 +464,7 @@ static void fuse_force_creds(struct fuse_conn *fc, struct fuse_req *req)
464464
req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns);
465465
}
466466

467-
void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args)
467+
static void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args)
468468
{
469469
req->in.h.opcode = args->opcode;
470470
req->in.h.nodeid = args->nodeid;

0 commit comments

Comments
 (0)