commit | 54b966702dafe396b6f4e609f222b8e0fdb4d7a4 | [log] [tgz] |
---|---|---|
author | Maxim Patlasov <mpatlasov@parallels.com> | Fri Oct 26 19:49:13 2012 +0400 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Thu Jan 24 16:21:26 2013 +0100 |
tree | 93f3188bd4c4cf1efc789db244819c8103342436 | |
parent | d07f09f509fb21482096e1975f160b694c0edf84 [diff] |
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>