ext2: add all required/readonly features

This commit is contained in:
Mark Poliakov 2024-12-28 14:33:22 +02:00
parent 37f8182eae
commit baff0cd5bd

View File

@ -32,6 +32,18 @@ bitflags! {
pub struct FsRequiredFeatures: u32 { pub struct FsRequiredFeatures: u32 {
const COMPRESSION: bit 0; const COMPRESSION: bit 0;
const DIRENT_TYPE_FIELD: bit 1; const DIRENT_TYPE_FIELD: bit 1;
const NEED_RECOVERY: bit 2;
const SEPARATE_JOURNAL_DEV: bit 3;
const META_BG: bit 4;
const EXTENTS: bit 6;
const FS_64_BIT: bit 7;
const FLEX_BG: bit 9;
const EA_INODE: bit 10;
const DIRDATA: bit 12;
const CHECKSUM_SEED: bit 13;
const LARGEDIR: bit 14;
const INLINE_DATA: bit 15;
const ENCRYPT: bit 16;
} }
} }
@ -41,6 +53,17 @@ bitflags! {
const SPARSE_SUPERBLOCKS: bit 0; const SPARSE_SUPERBLOCKS: bit 0;
const FILE_SIZE_64_BIT: bit 1; const FILE_SIZE_64_BIT: bit 1;
const DIR_BTREE: bit 2; const DIR_BTREE: bit 2;
const SIZE_BLOCKS_NOT_BYTES: bit 3;
const DESCRIPTOR_CHECKSUM: bit 4;
const NO_HARD_LINK_LIMIT: bit 5;
const LARGE_INODES: bit 6;
const HAS_SNAPSHOT: bit 7;
const QUOTA: bit 8;
const CLUSTER_EXTENT_ALLOC: bit 9;
const METADATA_CHECKSUM: bit 10;
const REPLICA: bit 11;
const READ_ONLY: bit 12;
const PROJECT_QUOTA: bit 13;
} }
} }