commit | 7af9cce8ae467bb2fcf3b0b6be3898835bdb984c | [log] [tgz] |
---|---|---|
author | Dmitry Monakhov <dmonakhov@openvz.org> | Tue Jun 01 11:39:48 2010 +0400 |
committer | Jan Kara <jack@suse.cz> | Wed Jul 21 16:01:46 2010 +0200 |
tree | ee72b3f199b775484ad61a984d5cfd5cb34d6de8 | |
parent | a9f7f2e74ae0e6a801a2433dc8e9124d73da0cb4 [diff] |
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 <dmonakhov@openvz.org> Signed-off-by: Jan Kara <jack@suse.cz>