]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 6 Nov 2012 12:09:36 +0000 (13:09 +0100)
commitbf223cc61f93edbc223052cb2854d95344cb4723
tree004a4eab93119006c0bd7f72254f1ec898583d0c
parent1d7a3002539b82b911cf24f6e21b3591723fa510
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