]> Gentwo Git Trees - linux/.git/commitdiff
Documentation: ext4: Document casefold and encrypt flags
authorDaniel Tang <danielzgtg.opensource@gmail.com>
Wed, 19 Nov 2025 14:32:13 +0000 (09:32 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 26 Nov 2025 22:13:34 +0000 (17:13 -0500)
Based on ext4(5) and fs/ext4/ext4.h.

For INCOMPAT_ENCRYPT, it's possible to create a new filesystem with that
flag without creating any encrypted inodes. ext4(5) says it adds
"support" but doesn't say whether anything's actually present like
COMPAT_RESIZE_INODE does.

Signed-off-by: Daniel Tang <danielzgtg.opensource@gmail.com>
Message-ID: <4506189.9SDvczpPoe@daniel-desktop3>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Documentation/filesystems/ext4/inodes.rst
Documentation/filesystems/ext4/super.rst

index cfc6c16599312ab3dc9be7f1ef904286b9b44248..55cd5c380e923d4249c5b2947ec7e12a7862748a 100644 (file)
@@ -297,6 +297,8 @@ The ``i_flags`` field is a combination of these values:
      - Inode has inline data (EXT4_INLINE_DATA_FL).
    * - 0x20000000
      - Create children with the same project ID (EXT4_PROJINHERIT_FL).
+   * - 0x40000000
+     - Use case-insensitive lookups for directory contents (EXT4_CASEFOLD_FL).
    * - 0x80000000
      - Reserved for ext4 library (EXT4_RESERVED_FL).
    * -
index 1b240661bfa306c9374e3a90b8ec71ed45d65dc9..9a59cded9bd7725cf234e00461bebd02b6d3b14e 100644 (file)
@@ -671,7 +671,9 @@ following:
    * - 0x8000
      - Data in inode (INCOMPAT_INLINE_DATA).
    * - 0x10000
-     - Encrypted inodes are present on the filesystem. (INCOMPAT_ENCRYPT).
+     - Encrypted inodes can be present. (INCOMPAT_ENCRYPT).
+   * - 0x20000
+     - Directories can be marked case-insensitive. (INCOMPAT_CASEFOLD).
 
 .. _super_rocompat: