diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-06-01 07:39:48 (GMT) |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-07-21 14:01:46 (GMT) |
commit | 7af9cce8ae467bb2fcf3b0b6be3898835bdb984c (patch) | |
tree | ee72b3f199b775484ad61a984d5cfd5cb34d6de8 /fs/xfs/linux-2.6/xfs_quotaops.c | |
parent | a9f7f2e74ae0e6a801a2433dc8e9124d73da0cb4 (diff) | |
download | linux-7af9cce8ae467bb2fcf3b0b6be3898835bdb984c.tar.xz |
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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_quotaops.c')
0 files changed, 0 insertions, 0 deletions