Skip to content

Commit 71e90b4

Browse files
drosen-googleJaegeuk Kim
authored andcommitted
fs: Reserve flag for casefolding
In preparation for including the casefold feature within f2fs, elevate the EXT4_CASEFOLD_FL flag to FS_CASEFOLD_FL. Signed-off-by: Daniel Rosenberg <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 0921835 commit 71e90b4

File tree

2 files changed

+2
-0
lines changed
  • include/uapi/linux
  • tools/include/uapi/linux

2 files changed

+2
-0
lines changed

include/uapi/linux/fs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ struct fscrypt_key {
311311
#define FS_NOCOW_FL 0x00800000 /* Do not cow file */
312312
#define FS_INLINE_DATA_FL 0x10000000 /* Reserved for ext4 */
313313
#define FS_PROJINHERIT_FL 0x20000000 /* Create with parents projid */
314+
#define FS_CASEFOLD_FL 0x40000000 /* Folder is case insensitive */
314315
#define FS_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
315316

316317
#define FS_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */

tools/include/uapi/linux/fs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ struct fscrypt_key {
311311
#define FS_NOCOW_FL 0x00800000 /* Do not cow file */
312312
#define FS_INLINE_DATA_FL 0x10000000 /* Reserved for ext4 */
313313
#define FS_PROJINHERIT_FL 0x20000000 /* Create with parents projid */
314+
#define FS_CASEFOLD_FL 0x40000000 /* Folder is case insensitive */
314315
#define FS_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
315316

316317
#define FS_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */

0 commit comments

Comments
 (0)