]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix wrong list_splice in ext4_fc_cleanup
authorDaejun Park <daejun7.park@samsung.com>
Wed, 30 Dec 2020 09:48:51 +0000 (18:48 +0900)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Jan 2021 19:40:12 +0000 (14:40 -0500)
commit36380adcaff6c5096547731191310b957b6aaa59
tree3f0036313adfba95fc5a95a2f4afbe5c261ebe28
parent5df3cefd071ab988fa1c68002be51a8a81a004a5
ext4: fix wrong list_splice in ext4_fc_cleanup

After full/fast commit, entries in staging queue are promoted to main
queue. In ext4_fs_cleanup function, it splice to staging queue to
staging queue.

Fixes: 95d2b4933dd98 ("ext4: main fast-commit commit path")
Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201230094851epcms2p6eeead8cc984379b37b2efd21af90fd1a@epcms2p6
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/fast_commit.c