diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-11 21:16:38 +0200 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-11 21:16:38 +0200 |
commit | 4858cae4f0904681eab58a16891c22397618a2a2 (patch) | |
tree | 013642eeb6520ca9517fc94dbe881da614502ef2 /fs/fuse/dev.c | |
parent | 9bc5dddad1294955e70eeb87325ba1505fb5fe2e (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>
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r-- | fs/fuse/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 8538b298a6b..cc750c68fe7 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) 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; |