aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-04-11 15:16:38 -0400
committerMiklos Szeredi <miklos@szeredi.hu>2006-04-11 15:16:38 -0400
commit4858cae4f0904681eab58a16891c22397618a2a2 (patch)
tree013642eeb6520ca9517fc94dbe881da614502ef2
parent9bc5dddad1294955e70eeb87325ba1505fb5fe2e (diff)
[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>
-rw-r--r--fs/fuse/dev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 8538b298a6b0..cc750c68fe70 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -108,7 +108,6 @@ struct fuse_req *fuse_get_req(struct fuse_conn *fc)
108 if (!req) 108 if (!req)
109 goto out; 109 goto out;
110 110
111 fuse_request_init(req);
112 req->in.h.uid = current->fsuid; 111 req->in.h.uid = current->fsuid;
113 req->in.h.gid = current->fsgid; 112 req->in.h.gid = current->fsgid;
114 req->in.h.pid = current->pid; 113 req->in.h.pid = current->pid;