summaryrefslogtreecommitdiff
path: root/lib/ext2fs
diff options
context:
space:
mode:
authorAditya Kali <adityakali@google.com>2011-07-20 11:40:06 -0700
committerTheodore Ts'o <tytso@mit.edu>2011-08-31 16:31:13 -0400
commit624e4a6466dba9889f5f80dc168f2bb7c2a3f5d0 (patch)
treed4d5748fc2baea48a1cb6a9ad0e66300cdcc3b3f /lib/ext2fs
parentf239fefc14226f655477179801c734749a04d4b4 (diff)
downloade2fsprogs-624e4a6466dba9889f5f80dc168f2bb7c2a3f5d0.tar.gz
e2fsck: add support for checking the built-in quota files
This patch adds support for doing quota accounting during full e2fsck scan if the 'quota' feature was set on the superblock. If user-visible quota inodes are in use, they will be hidden and converted to the reserved quota inodes. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs')
-rw-r--r--lib/ext2fs/ext2fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h
index dc83fb0c..9d68cbee 100644
--- a/lib/ext2fs/ext2fs.h
+++ b/lib/ext2fs/ext2fs.h
@@ -564,7 +564,8 @@ typedef struct ext2_icount *ext2_icount_t;
EXT4_FEATURE_RO_COMPAT_DIR_NLINK|\
EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE|\
EXT4_FEATURE_RO_COMPAT_GDT_CSUM|\
- EXT4_FEATURE_RO_COMPAT_BIGALLOC)
+ EXT4_FEATURE_RO_COMPAT_BIGALLOC|\
+ EXT4_FEATURE_RO_COMPAT_QUOTA)
/*
* These features are only allowed if EXT2_FLAG_SOFTSUPP_FEATURES is passed