alistair23-linux/fs/quota
Jan Kara 0a5a9c7255 quota: Fix warning when a delayed write happens before quota is enabled
If a delayed-allocation write happens before quota is enabled, the
kernel spits out a warning:
WARNING: at fs/quota/dquot.c:988 dquot_claim_space+0x77/0x112()

because the fact that user has some delayed allocation is not recorded
in quota structure.

Make dquot_initialize() update amount of reserved space for user if it sees
inode has some space reserved. Also make sure that reserved quota space does
not go negative and we warn about the filesystem bug just once.

Signed-off-by: Jan Kara <jack@suse.cz>
2010-03-05 00:20:21 +01:00
..
dquot.c quota: Fix warning when a delayed write happens before quota is enabled 2010-03-05 00:20:21 +01:00
Kconfig quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00
Makefile quota: remove obsolete comments in fs/quota/Makefile 2009-04-27 16:49:52 +02:00
quota.c VFS: Export dquot_send_warning 2009-12-03 11:53:02 +00:00
quota_tree.c
quota_tree.h
quota_v1.c const: struct quota_format_ops 2009-12-10 15:02:51 +01:00
quota_v2.c quota: Improve checking of quota file header 2009-12-23 13:44:13 +01:00
quotaio_v1.h
quotaio_v2.h quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00