Whamcloud - gitweb
quota: Add support to version 0 quota format
authorJan Kara <jack@suse.cz>
Mon, 23 Aug 2021 15:41:21 +0000 (17:41 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Sep 2021 18:34:58 +0000 (14:34 -0400)
commitb30df8c3b5d955432393814b283f8d53f26c3037
tree109180b8386eaabc0fe006e098c8a9257dad0082
parent4cda25453f85f06371735b8f55d584e0d38a52bc
quota: Add support to version 0 quota format

Version 0 quota format differs from version 1 by having only 32-bit
counters for inodes and block limits. For many installations this is not
limiting and thus the format is widely used. Also quota tools still
create quota files with this format by default. Add support for this
quota format to e2fsprogs so that we can seamlessly convert quota files
in this format into our internal quota files.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/support/quotaio_v2.c
lib/support/quotaio_v2.h