aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota/quota.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-02-09 12:20:39 -0500
committerJan Kara <jack@suse.cz>2010-03-04 18:20:21 -0500
commit0a5a9c725512461d19397490f3adf29931dca1f2 (patch)
tree8df303b6fe335d825cedbfa8cde5bd76c7f53742 /fs/quota/quota.c
parentc469070aea5a0ada45a836937c776fd3083dae2b (diff)
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>
Diffstat (limited to 'fs/quota/quota.c')
0 files changed, 0 insertions, 0 deletions