Whamcloud - gitweb
e2fsprogs: add quota library to e2fsprogs
authorAditya Kali <adityakali@google.com>
Wed, 20 Jul 2011 18:40:02 +0000 (11:40 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 31 Aug 2011 19:21:40 +0000 (15:21 -0400)
commitf239fefc14226f655477179801c734749a04d4b4
tree5d614dcaf12abbf9dc00cf8b1f3f95eb61662e3a
parenta4aff9ca5bcc3df76dcb3d49765674feba3d7654
e2fsprogs: add quota library to e2fsprogs

This patch adds the quota library (ported form Jan Kara's quota-tools) in
e2fsprogs in order to make quotas as a first class supported feature in Ext4.
This patch also provides interface in lib/quota/mkquota.h that will be used by
mke2fs, tune2fs, e2fsck, etc. to initialize and update quota files.
This first version of the quota library does not support reading existing quota
files. This support will be added in the near future.
Thanks to Jan Kara for his work on quota-tools. Most of the files in this patch
are taken as-is from quota tools and were simply modified to work with
libext2fs in e2fsprogs.

Signed-off-by: Aditya Kali <adityakali@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
18 files changed:
MCONFIG.in
Makefile.in
configure
configure.in
lib/quota/Makefile.in [new file with mode: 0644]
lib/quota/common.c [new file with mode: 0644]
lib/quota/common.h [new file with mode: 0644]
lib/quota/dqblk_v2.h [new file with mode: 0644]
lib/quota/mkquota.c [new file with mode: 0644]
lib/quota/mkquota.h [new file with mode: 0644]
lib/quota/quota.h [new file with mode: 0644]
lib/quota/quota.pc.in [new file with mode: 0644]
lib/quota/quotaio.c [new file with mode: 0644]
lib/quota/quotaio.h [new file with mode: 0644]
lib/quota/quotaio_tree.c [new file with mode: 0644]
lib/quota/quotaio_tree.h [new file with mode: 0644]
lib/quota/quotaio_v2.c [new file with mode: 0644]
lib/quota/quotaio_v2.h [new file with mode: 0644]