ext4: update quota information while swapping boot loader inode
authoryangerkun <yangerkun@huawei.com>
Mon, 11 Feb 2019 05:14:02 +0000 (00:14 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 11 Feb 2019 05:14:02 +0000 (00:14 -0500)
commitaa507b5faf38784defe49f5e64605ac3c4425e26
treec4f3136235305939d238f48afba3a1bef5afa435
parenta46c68a318b08f819047843abf349aeee5d10ac2
ext4: update quota information while swapping boot loader inode

While do swap between two inode, they swap i_data without update
quota information. Also, swap_inode_boot_loader can do "revert"
somtimes, so update the quota while all operations has been finished.

Signed-off-by: yangerkun <yangerkun@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/ioctl.c