Commit 4858cae4 authored by Miklos Szeredi's avatar Miklos Szeredi

[fuse] Don't init request twice

Request is already initialized in fuse_request_alloc() so no need to
do it again in fuse_get_req().
Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
parent 9bc5ddda
...@@ -108,7 +108,6 @@ struct fuse_req *fuse_get_req(struct fuse_conn *fc) ...@@ -108,7 +108,6 @@ struct fuse_req *fuse_get_req(struct fuse_conn *fc)
if (!req) if (!req)
goto out; goto out;
fuse_request_init(req);
req->in.h.uid = current->fsuid; req->in.h.uid = current->fsuid;
req->in.h.gid = current->fsgid; req->in.h.gid = current->fsgid;
req->in.h.pid = current->pid; req->in.h.pid = current->pid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment