Procházet zdrojové kódy

[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>
Miklos Szeredi před 19 roky
rodič
revize
4858cae4f0
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      fs/fuse/dev.c

+ 0 - 1
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;