]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
mke2fs: Add orphan_file feature into mke2fs.conf
authorJan Kara <jack@suse.cz>
Mon, 12 Jul 2021 15:43:14 +0000 (17:43 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 Aug 2021 18:25:03 +0000 (14:25 -0400)
Enable orphan_file feature by default in larger filesystems. Since the
feature is COMPAT, older kernels will just ignore it and happily work
with the filesystem as well.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.conf.in

index 01e35cf8315007b42a5c78475e776bfac58ad8f6..d97d8d643d1d3850a110435ae56b5c4c8094fa77 100644 (file)
                features = has_journal
        }
        ext4 = {
-               features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
+               features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize,orphan_file
                inode_size = 256
        }
        small = {
+               default_features = ^orphan_file
                blocksize = 1024
                inode_size = 128
                inode_ratio = 4096
        }
        floppy = {
+               default_features = ^orphan_file
                blocksize = 1024
                inode_size = 128
                inode_ratio = 8192