]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ext2: use iomap_zero_range() for zeroing truncated page in DAX path
authorJan Kara <jack@suse.cz>
Mon, 21 Nov 2016 01:47:07 +0000 (20:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Nov 2016 01:47:07 +0000 (20:47 -0500)
commit00697eed386d57c5267aad5b8343f027b10da0c0
treeb1440f03d2aea6832e4d7ae044e665159144984e
parent0bd2d5ec3d7655a849928f04597a0ceea0329176
ext2: use iomap_zero_range() for zeroing truncated page in DAX path

Currently the last user of ext2_get_blocks() for DAX inodes was
dax_truncate_page(). Convert that to iomap_zero_range() so that all DAX
IO uses the iomap path.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext2/inode.c