]> www.infradead.org Git - users/jedix/linux-maple.git/commit
jbd2: remove the 'success' parameter from the jbd2_do_replay() function
authorYe Bin <yebin10@huawei.com>
Mon, 30 Sep 2024 00:59:42 +0000 (08:59 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Nov 2024 04:54:14 +0000 (23:54 -0500)
commit22d26f9b0c3ee2ef75daf2feee8f0a9eac385939
treeeefa3876ce6a0f73021a9711f3565ebdea52b8c4
parent0f67827bf44fdf2a4426cc918ee8cfc1274f8efa
jbd2: remove the 'success' parameter from the jbd2_do_replay() function

Keep 'success' internally to track if any error happened and then
return it at the end in do_one_pass(). If jbd2_do_replay() return
-ENOMEM then stop replay journal.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240930005942.626942-7-yebin@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/recovery.c