Skip to content

ext4: Handle directories with holes better

Jan Kara linux-ext4 stable 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v11 patch 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2ext4: Fix ext4_empty_dir() for directories with holesfs/ext4/namei.c+18 -141 reply
2/2ext4: Check for directory entries too close to block endfs/ext4/dir.c+5 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/2 v2] ext4: Handle directories with holes better

Hello,

here is a fixed up version of ext4 patch to fix ext4_empty_dir() for directories with holes. There's also another patch that tightens checks in ext4_check_dir_entry() so that directory iteration code cannot read data beyond end of the buffer.

Honza