From: Miklos Szeredi Date: Tue, 11 Apr 2006 19:16:38 +0000 (+0200) Subject: [fuse] Don't init request twice X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4858cae4f0904681eab58a16891c22397618a2a2;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 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;