|
@@ -3264,7 +3264,7 @@ static int ext4_ext_convert_to_initialized(handle_t *handle,
|
|
|
|
|
|
if (EXT4_EXT_MAY_ZEROOUT & split_flag)
|
|
if (EXT4_EXT_MAY_ZEROOUT & split_flag)
|
|
max_zeroout = sbi->s_extent_max_zeroout_kb >>
|
|
max_zeroout = sbi->s_extent_max_zeroout_kb >>
|
|
- inode->i_sb->s_blocksize_bits;
|
|
|
|
|
|
+ (inode->i_sb->s_blocksize_bits - 10);
|
|
|
|
|
|
/* If extent is less than s_max_zeroout_kb, zeroout directly */
|
|
/* If extent is less than s_max_zeroout_kb, zeroout directly */
|
|
if (max_zeroout && (ee_len <= max_zeroout)) {
|
|
if (max_zeroout && (ee_len <= max_zeroout)) {
|