Skip to content

Simplify rejection of unexpected casefold inode flag

Eric Biggers linux-ext4 linux-f2fs-devel linux-fsdevel 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3ext4: reject casefold inode flag without casefold featurefs/ext4/inode.c+4 -13 repliesApplied
2/3ext4: remove redundant checks of s_encodingfs/ext4/hash.c fs/ext4/namei.c+4 -40 repliesApplied
3/3libfs: remove redundant checks of s_encodingfs/libfs.c+2 -120 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Simplify rejection of unexpected casefold inode flag

This series makes unexpected casefold flags on inodes be consistently rejected early on so that additional validation isn't needed later on during random filesystem operations. For additional context, refer to the discussion on patch 1 of
https://lore.kernel.org/linux-fsdevel/[email protected]/T/#u

Applies to v6.5-rc6

Eric Biggers (3):
ext4: reject casefold inode flag without casefold feature
ext4: remove redundant checks of s_encoding
libfs: remove redundant checks of s_encoding

 fs/ext4/hash.c  |  2 +-
 fs/ext4/inode.c |  5 ++++-
 fs/ext4/namei.c |  6 +++---
 fs/libfs.c      | 14 ++------------
 4 files changed, 10 insertions(+), 17 deletions(-)

base-commit: 2ccdd1b13c591d306f0401d98dedc4bdcd02b421

Signature · 8 lines
2.41.0



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel