History log of /external/e2fsprogs/lib/support/quotaio.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
478360f50b68356849813f97db46fd156da5248e 30-May-2016 Theodore Ts'o <tytso@mit.edu> Fix Android build warnings

Also fix some additional gcc -Wall build warnings in a traditional
Linux environment.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
bc1ec4b4593d0c89dc52b9042297b3aeb65e08cd 22-May-2016 Theodore Ts'o <tytso@mit.edu> e2fsck: fix project quota support

Use a large_inode so that when e2fsck is fixing a file system with
project quota enabled, the correct project id's quota is adjusted when
a corrupted inode is deleted.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
a195e862cae6e96895b702efa52a38458dc4b42b 09-May-2016 Theodore Ts'o <tytso@mit.edu> mke2fs: fix the parsing used for -E quotatype=usrquota:grpquota:prjquota

Commit 2d2d799c7261 tried to use parse_quota_options(), which uses
commas to separate out the quota types. Unfortunately, when parsing
extended options, commands are used to separate different extended
options.

To fix this, I've add a new support function parse_quota_type(), which
allows either commas or colons to used as a separator character, and
which manipulates a bit field to indicate which quota types should be
enabled. Eventually tune2fs should be converted to use
parse_quota_type() as well, thus obsoleting parse_quota_options(), but
that's a more complicated cleanup patch for later.

Fix a lint warning which could the number of blocks to be incorretly
printed if it exceeds 2**32.

Also fix some typos and other minor bugs in the usage message.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
a96aa32505350a2123a83bd6630c1f313bcd9bb9 18-Mar-2016 Theodore Ts'o <tytso@mit.edu> libsupport: fix function prototype for parse_quota_opts

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
82e48fb1637a2b6d4d789516eae57d27fefb605e 18-Mar-2016 Theodore Ts'o <tytso@mit.edu> Fix various clang and gcc -Wall warnings

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
080e09b46ff1f6b00b26231868002e781e98adf2 01-Mar-2016 Li Xi <pkuelelixi@gmail.com> Add project quota support

This patch adds project quota support. An new quota type PRJQUOTA(2)
is added. EXT4_PRJ_QUOTA_INO(11) is reserved for project quota inode.
The super block reservers an field s_prj_quota_inum for saving
project quota inode. And each inode adds an internal field i_projid
for saving its project ID.

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
2d2d799c72610f4d9b4910e7f1516f11288e1cf1 12-Jan-2016 Li Xi <pkuelelixi@gmail.com> Clean up codes for adding new quota type

Project quota related fields are reserved in Linux kernel.
As a preparation for it, this patch cleans up quota codes
of e2fsprogs so as to make it easier to add new quota type(s).

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
25f291c9b32d8017e6969c72a75e37d354c0570b 13-Jul-2015 Theodore Ts'o <tytso@mit.edu> Eliminate unused parameter warnings from Android build

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
3dca12fb62448f52663c859a089244d9cf37c5e3 13-Jul-2015 Theodore Ts'o <tytso@mit.edu> Move dict.c from e2fsck to lib/support

The quota code required that we included dict.o in libsupport.a, so we
might as well just move dict.c and dict.h to lib/support, and then
have e2fsck use the version of dict.c in libsupport.a. This
simplifies the build system and eliminates having two identical copies
of dict.o floating around in the build tree.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h
f34af41b72ed8ca29b4579a8967ced7b61924c71 12-Jul-2015 Theodore Ts'o <tytso@mit.edu> rename libquota.a to libsupport.a

We will be using libsupport.a for e2fsprogs's internal support
functions. It will contain the quota support functions, but we will
also be moving code such as profile.c and plausible.c to libsupport.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/support/quotaio.h