+29
−0
+215
−323
File changed.
Preview size limit exceeded, changes collapsed.
+72
−117
+24
−10
+8
−14
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The following pattern is repeated many times:
req = fuse_get_req_nopages(fc);
/* Initialize req->(in|out).args */
fuse_request_send(fc, req);
err = req->out.h.error;
fuse_put_request(req);
Create a new replacement helper:
/* Initialize args */
err = fuse_simple_request(fc, &args);
In addition to reducing the code size, this will ease moving from the
complex arg-based to a simpler page-based I/O on the fuse device.
Signed-off-by:
Miklos Szeredi <mszeredi@suse.cz>
File changed.
Preview size limit exceeded, changes collapsed.