Commit 8641b4d6 authored by yangerkun's avatar yangerkun Committed by Xie XiuQi
Browse files

ext4: update quota information while swapping boot loader inode



mainline inclusion
from mainline-next
commit aa507b5f
category: bugfix
bugzilla: 5355
CVE: NA
--------------------------------------------------

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: default avataryangerkun <yangerkun@huawei.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 14048703
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment