There is no point in modifying two locations now that we have a sensible BLK_MAX_BLOCK_SIZE defined which is only lifted once we have tested and validated things. Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> --- fs/iomap/direct-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c index 0e47da82b0c2..aa109f4ee491 100644 --- a/fs/iomap/direct-io.c +++ b/fs/iomap/direct-io.c @@ -30,7 +30,7 @@ /* * Used for sub block zeroing in iomap_dio_zero() */ -#define IOMAP_ZERO_PAGE_SIZE (SZ_64K) +#define IOMAP_ZERO_PAGE_SIZE (BLK_MAX_BLOCK_SIZE) #define IOMAP_ZERO_PAGE_ORDER (get_order(IOMAP_ZERO_PAGE_SIZE)) static struct page *zero_page; -- 2.47.2