]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: update quota information while swapping boot loader inode
authoryangerkun <yangerkun@huawei.com>
Mon, 11 Feb 2019 05:14:02 +0000 (00:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:10:02 +0000 (20:10 +0100)
commit048bfb5bc05f7be392f025cdcd655878e88a4eaf
treea47dbed98c62d233ea46669bf832df88b81cb4a7
parent071f68163cc0e98d543685a188dc2d909b6bb464
ext4: update quota information while swapping boot loader inode

commit aa507b5faf38784defe49f5e64605ac3c4425e26 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/ioctl.c