summaryrefslogtreecommitdiff
path: root/e2fsck/e2fsck.h
diff options
context:
space:
mode:
authorTahsin Erdogan <tahsin@google.com>2017-07-04 23:53:59 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-07-04 23:53:59 -0400
commitb0f457bda89db94456617ee2302421832d6669c1 (patch)
tree4df13301c7ba8dc350eaa48d86f9ea7dcdab1079 /e2fsck/e2fsck.h
parente8b3cc90942b76c380b8556fd568a757eb6362a9 (diff)
downloade2fsprogs-b0f457bda89db94456617ee2302421832d6669c1.tar.gz
e2fsck: update i_blocks accounting for ea_inode feature
With ea_inode feature, i_blocks include the disk space used by referenced xattr inodes. Make e2fsck aware of that. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/e2fsck.h')
-rw-r--r--e2fsck/e2fsck.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/e2fsck/e2fsck.h b/e2fsck/e2fsck.h
index f9285d01..79eeda9f 100644
--- a/e2fsck/e2fsck.h
+++ b/e2fsck/e2fsck.h
@@ -270,6 +270,11 @@ struct e2fsck_struct {
ext2_refcount_t refcount_extra;
/*
+ * Quota blocks to be charged for each ea block.
+ */
+ ext2_refcount_t ea_block_quota;
+
+ /*
* Array of flags indicating whether an inode bitmap, block
* bitmap, or inode table is invalid
*/