quota: Split off quota tree handling into a separate file
authorJan Kara <jack@suse.cz>
Mon, 22 Sep 2008 03:54:49 +0000 (05:54 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:21 +0000 (08:40 -0800)
commit1ccd14b9c271c1ac6eec5c5ec5def433100e7248
tree959756aa5b68c568a18697464df3f0acdd0387cf
parentcf770c137122b78470a67ebd5498947869a09197
quota: Split off quota tree handling into a separate file

There is going to be a new version of quota format having 64-bit
quota limits and a new quota format for OCFS2. They are both
going to use the same tree structure as VFSv0 quota format. So
split out tree handling into a separate file and make size of
leaf blocks, amount of space usable in each block (needed for
checksumming) and structures contained in them configurable
so that the code can be shared.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/Kconfig
fs/Makefile
fs/quota_tree.c [new file with mode: 0644]
fs/quota_tree.h [new file with mode: 0644]
fs/quota_v2.c
fs/quotaio_v2.h
include/linux/dqblk_qtree.h [new file with mode: 0644]
include/linux/dqblk_v2.h