From: Dmitry Monakhov Date: Tue, 1 Jun 2010 07:39:48 +0000 (+0400) Subject: quota: check quota reservation on remove_dquot_ref X-Git-Tag: v2.6.36-rc1~502^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7af9cce8ae467bb2fcf3b0b6be3898835bdb984c;p=pandora-kernel.git quota: check quota reservation on remove_dquot_ref Reserved space must being claimed before remove_dquot_ref() for a given inode. Filesystem is responsible for performing force blocks allocation in case of dealloc in ->quota_off. Let's add sanity check for that case. Do it similar to add_dquot_ref(). Signed-off-by: Dmitry Monakhov Signed-off-by: Jan Kara --- Reading git-diff-tree failed