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

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

[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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;