forked from Minki/linux
[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: Miklos Szeredi <miklos@szeredi.hu>
This commit is contained in:
parent
9bc5dddad1
commit
4858cae4f0
@ -108,7 +108,6 @@ struct fuse_req *fuse_get_req(struct fuse_conn *fc)
|
||||
if (!req)
|
||||
goto out;
|
||||
|
||||
fuse_request_init(req);
|
||||
req->in.h.uid = current->fsuid;
|
||||
req->in.h.gid = current->fsgid;
|
||||
req->in.h.pid = current->pid;
|
||||
|
Loading…
Reference in New Issue
Block a user