[PATCH 4.14 299/343] btrfs: use correct count in btrfs_file_write_iter()