linux/fs/fuse
Miklos Szeredi 7078187a79 fuse: introduce fuse_simple_request() helper
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>
2014-12-12 09:49:05 +01:00
..
control.c fuse: add __exit to fuse_ctl_cleanup 2014-04-28 14:19:21 +02:00
cuse.c fuse: flush requests on umount 2014-12-12 09:49:04 +01:00
dev.c fuse: introduce fuse_simple_request() helper 2014-12-12 09:49:05 +01:00
dir.c fuse: introduce fuse_simple_request() helper 2014-12-12 09:49:05 +01:00
file.c fuse: introduce fuse_simple_request() helper 2014-12-12 09:49:05 +01:00
fuse_i.h fuse: introduce fuse_simple_request() helper 2014-12-12 09:49:05 +01:00
inode.c fuse: introduce fuse_simple_request() helper 2014-12-12 09:49:05 +01:00
Kconfig fuse: Move CUSE Kconfig entry from fs/Kconfig into fs/fuse/Kconfig 2013-01-17 13:08:45 +01:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00