aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-12-31 12:04:42 -0600
committerTheodore Ts'o <[email protected]>2020-01-17 16:24:54 -0500
commit61a6cb49da8147bc5377b60dfe540f9ef320aeb8 (patch)
tree04207f6d8d6cf5d74768c029b2e027eb48ea93a3
parentadde81cfd5a8d4966f5805e030ab3d0a7825b118 (diff)
ext4: remove obsolete comment from ext4_can_extents_be_merged()
Support for unwritten extents was added to ext4 a long time ago, so remove a misleading comment that says they're a future feature. Signed-off-by: Eric Biggers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]> Reviewed-by: Ritesh Harjani <[email protected]> Reviewed-by: Jan Kara <[email protected]>
-rw-r--r--fs/ext4/extents.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 6e4d8a5cb7fb..6a8faa86d45f 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -1716,11 +1716,6 @@ static int ext4_can_extents_be_merged(struct inode *inode,
le32_to_cpu(ex2->ee_block))
return 0;
- /*
- * To allow future support for preallocated extents to be added
- * as an RO_COMPAT feature, refuse to merge to extents if
- * this can result in the top bit of ee_len being set.
- */
if (ext1_ee_len + ext2_ee_len > EXT_INIT_MAX_LEN)
return 0;