]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: rework fuse_do_ioctl()
authorMaxim Patlasov <mpatlasov@parallels.com>
Fri, 26 Oct 2012 15:49:13 +0000 (19:49 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 24 Jan 2013 15:21:26 +0000 (16:21 +0100)
commite7291168948e8fc605b2ebcd3e0da36b179fdcba
tree93f3188bd4c4cf1efc789db244819c8103342436
parentf7de93d23b1e5008a172fbd14c89931ea2f9f0ec
fuse: rework fuse_do_ioctl()

fuse_do_ioctl() already calculates the number of pages it's going to use. It is
stored in 'num_pages' variable. So the patch simply uses it for allocating
fuse_req.

Signed-off-by: Maxim Patlasov <mpatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c