Skip to content

Commit 39fc6d4

Browse files
danielzgtgtytso
authored andcommitted
Documentation: ext4: Document casefold and encrypt flags
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>
1 parent 4ada1e4 commit 39fc6d4

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Documentation/filesystems/ext4/inodes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ The ``i_flags`` field is a combination of these values:
297297
- Inode has inline data (EXT4_INLINE_DATA_FL).
298298
* - 0x20000000
299299
- Create children with the same project ID (EXT4_PROJINHERIT_FL).
300+
* - 0x40000000
301+
- Use case-insensitive lookups for directory contents (EXT4_CASEFOLD_FL).
300302
* - 0x80000000
301303
- Reserved for ext4 library (EXT4_RESERVED_FL).
302304
* -

Documentation/filesystems/ext4/super.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,9 @@ following:
671671
* - 0x8000
672672
- Data in inode (INCOMPAT_INLINE_DATA).
673673
* - 0x10000
674-
- Encrypted inodes are present on the filesystem. (INCOMPAT_ENCRYPT).
674+
- Encrypted inodes can be present. (INCOMPAT_ENCRYPT).
675+
* - 0x20000
676+
- Directories can be marked case-insensitive. (INCOMPAT_CASEFOLD).
675677

676678
.. _super_rocompat:
677679

0 commit comments

Comments
 (0)