fs: Reserve flag for casefolding
authorDaniel Rosenberg <drosen@google.com>
Tue, 23 Jul 2019 23:05:27 +0000 (16:05 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Aug 2019 14:57:12 +0000 (07:57 -0700)
In preparation for including the casefold feature within f2fs, elevate
the EXT4_CASEFOLD_FL flag to FS_CASEFOLD_FL.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
include/uapi/linux/fs.h
tools/include/uapi/linux/fs.h

index 59c71fa8c553a394d516502538c188aa01502e2c..2a616aa3f6862da43e1e344439fd977442991de5 100644 (file)
@@ -311,6 +311,7 @@ struct fscrypt_key {
 #define FS_NOCOW_FL                    0x00800000 /* Do not cow file */
 #define FS_INLINE_DATA_FL              0x10000000 /* Reserved for ext4 */
 #define FS_PROJINHERIT_FL              0x20000000 /* Create with parents projid */
+#define FS_CASEFOLD_FL                 0x40000000 /* Folder is case insensitive */
 #define FS_RESERVED_FL                 0x80000000 /* reserved for ext2 lib */
 
 #define FS_FL_USER_VISIBLE             0x0003DFFF /* User visible flags */
index 59c71fa8c553a394d516502538c188aa01502e2c..2a616aa3f6862da43e1e344439fd977442991de5 100644 (file)
@@ -311,6 +311,7 @@ struct fscrypt_key {
 #define FS_NOCOW_FL                    0x00800000 /* Do not cow file */
 #define FS_INLINE_DATA_FL              0x10000000 /* Reserved for ext4 */
 #define FS_PROJINHERIT_FL              0x20000000 /* Create with parents projid */
+#define FS_CASEFOLD_FL                 0x40000000 /* Folder is case insensitive */
 #define FS_RESERVED_FL                 0x80000000 /* reserved for ext2 lib */
 
 #define FS_FL_USER_VISIBLE             0x0003DFFF /* User visible flags */