projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc5ddd
)
[fuse] Don't init request twice
author
Miklos Szeredi
<miklos@szeredi.hu>
Tue, 11 Apr 2006 19:16:38 +0000
(21:16 +0200)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Tue, 11 Apr 2006 19:16:38 +0000
(21:16 +0200)
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>
fs/fuse/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fuse/dev.c
b/fs/fuse/dev.c
index 8538b298a6b0d1ab7020a3676af189c57b14da46..cc750c68fe709b4d552bead603074564ecbb0c9b 100644
(file)
--- 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;