From: Miklos Szeredi Date: Tue, 11 Apr 2006 19:16:38 +0000 (+0200) Subject: [fuse] Don't init request twice X-Git-Tag: v2.6.17-rc2~73^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4858cae4f0904681eab58a16891c22397618a2a2;p=linux-2.6 [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 --- diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 8538b298a6..cc750c68fe 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;