diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-09-23 13:52:31 +0800 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-09-24 15:28:02 +0200 |
commit | 5addcd5dbd8c2d2bcf719a2eb41a9b43bf9a7935 (patch) | |
tree | 483d1d17cc984c30d2fb31de5f4cae19b0a0da69 /fs/fuse | |
parent | 9ad09b1976c562061636ff1e01bfc3a57aebe56b (diff) | |
download | linux-5addcd5dbd8c2d2bcf719a2eb41a9b43bf9a7935.tar.bz2 |
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: 68583165f962 ("fuse: add pages to fuse_args")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 04fe6788e405..dadd617d826c 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -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; |