Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5addcd5d authored by YueHaibing's avatar YueHaibing Committed by Miklos Szeredi
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Fixes: 68583165 ("fuse: add pages to fuse_args")
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 9ad09b19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@ static void fuse_force_creds(struct fuse_conn *fc, struct fuse_req *req)
	req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns);
}

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