Skip to content

Commit

Permalink
[fuse] Don't init request twice
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Szeredi committed Apr 11, 2006
1 parent 9bc5ddd commit 4858cae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/fuse/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4858cae

Please sign in to comment.