Message ID | 4DB09E01.6030209@linux.vnet.ibm.com |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index ee2dda3..00e9e4f 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2803,10 +2803,7 @@ static int ext4_ext_convert_to_initialized(handle_t *handle, /* If extent has less than 2*EXT4_EXT_ZERO_LEN zerout directly */ if (ee_len <= 2*EXT4_EXT_ZERO_LEN && (EXT4_EXT_MAY_ZEROOUT & split_flag)) { - zero_ex.ee_block = ex->ee_block; - zero_ex.ee_len = cpu_to_le16(map->m_lblk - ee_block); - ext4_ext_store_pblock(&zero_ex, ext4_ext_pblock(ex)); - err = ext4_ext_zeroout(inode, &zero_ex); + err = ext4_ext_zeroout(inode, ex); if (err) goto out;