[PATCH OLK-6.6 37/54] fuse: refactor out shared logic in fuse_writepages_fill() and fuse_writepage_locked()