1
0
Fork 0

[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>
wifi-calibration
Miklos Szeredi 2006-04-11 21:16:38 +02:00
parent 9bc5dddad1
commit 4858cae4f0
1 changed files with 0 additions and 1 deletions

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;