[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:
Miklos Szeredi 2006-04-11 21:16:38 +02:00
parent 9bc5dddad1
commit 4858cae4f0

View file

@ -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;