On 2022/8/31 20:06, Jan Kara wrote:
On Tue 30-08-22 20:04:11, Jason Yan wrote:
Factor out ext4_journal_data_check(). No functional change.
Signed-off-by: Jason Yan<yanaijie@xxxxxxxxxx>
---
fs/ext4/super.c | 60 ++++++++++++++++++++++++++++---------------------
1 file changed, 35 insertions(+), 25 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 95e70f0316db..c070d4f5ecc4 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4910,6 +4910,39 @@ static int ext4_load_and_init_journal(struct super_block *sb,
return err;
}
+static int ext4_journal_data_check(struct super_block *sb)
Perhaps name this ext4_journal_data_mode_check()?
OK.
Thanks.
Otherwise feel free to
add:
Reviewed-by: Jan Kara<jack@xxxxxxx>