diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2009-12-08 22:42:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-14 09:45:23 -0800 |
commit | caa305aa349212c285ad9564b9ff2ffa040b193c (patch) | |
tree | 3d937ee27bb3885e67a18fa67b90eddcee01282b /fs/jbd2 | |
parent | da2068b384bbfaae98ff55f1424be88c65bf801b (diff) |
ext4: fix incorrect block reservation on quota transfer.
(cherry picked from commit 194074acacebc169ded90a4657193f5180015051)
Inside ->setattr() call both ATTR_UID and ATTR_GID may be valid
This means that we may end-up with transferring all quotas. Add
we have to reserve QUOTA_DEL_BLOCKS for all quotas, as we do in
case of QUOTA_INIT_BLOCKS.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions