diff options
author | Jan Kara <jack@suse.cz> | 2008-09-21 23:54:49 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 11:40:21 -0500 |
commit | 1ccd14b9c271c1ac6eec5c5ec5def433100e7248 (patch) | |
tree | 959756aa5b68c568a18697464df3f0acdd0387cf /fs/Kconfig | |
parent | cf770c137122b78470a67ebd5498947869a09197 (diff) |
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>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index b93425ad15de..c1ce3d8831d8 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -302,6 +302,10 @@ config PRINT_QUOTA_WARNING | |||
302 | Note that this behavior is currently deprecated and may go away in | 302 | Note that this behavior is currently deprecated and may go away in |
303 | future. Please use notification via netlink socket instead. | 303 | future. Please use notification via netlink socket instead. |
304 | 304 | ||
305 | # Generic support for tree structured quota files. Seleted when needed. | ||
306 | config QUOTA_TREE | ||
307 | tristate | ||
308 | |||
305 | config QFMT_V1 | 309 | config QFMT_V1 |
306 | tristate "Old quota format support" | 310 | tristate "Old quota format support" |
307 | depends on QUOTA | 311 | depends on QUOTA |
@@ -313,6 +317,7 @@ config QFMT_V1 | |||
313 | config QFMT_V2 | 317 | config QFMT_V2 |
314 | tristate "Quota format v2 support" | 318 | tristate "Quota format v2 support" |
315 | depends on QUOTA | 319 | depends on QUOTA |
320 | select QUOTA_TREE | ||
316 | help | 321 | help |
317 | This quota format allows using quotas with 32-bit UIDs/GIDs. If you | 322 | This quota format allows using quotas with 32-bit UIDs/GIDs. If you |
318 | need this functionality say Y here. | 323 | need this functionality say Y here. |