aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-02-09 18:20:39 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 15:58:54 -0700
commit17884de64aa5dd5806c4a64f80a10dd229fb6143 (patch)
treecab3de69aaf80842d0e0918b4a7d514925ebde9d /net/lapb/lapb_iface.c
parent97068a372bcb543d824f330808d0a20ffed85d91 (diff)
quota: Fix warning when a delayed write happens before quota is enabled
commit 0a5a9c725512461d19397490f3adf29931dca1f2 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions