]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
fuse: rework fuse_perform_write()
authorMaxim Patlasov <mpatlasov@parallels.com>
Fri, 26 Oct 2012 15:49:00 +0000 (19:49 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 24 Jan 2013 15:21:26 +0000 (16:21 +0100)
commitd07f09f509fb21482096e1975f160b694c0edf84
tree657076e651b8dee622581b754f9e752461bad98d
parentf8dbdf81821b5ab4c5e86e7b2bd7edb892c159c2
fuse: rework fuse_perform_write()

The patch allocates as many page pointers in fuse_req as needed to cover
interval [pos .. pos+len-1]. Inline helper fuse_wr_pages() is introduced
to hide this cumbersome arithmetic.

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