From: Simon Glass <simon.glass@canonical.com> Remove static from ext4_commit_super() to allow calling it from ext4l interface code to sync superblock after write operations. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- fs/ext4l/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ext4l/super.c b/fs/ext4l/super.c index 57653c8acb7..9ed6f907b7a 100644 --- a/fs/ext4l/super.c +++ b/fs/ext4l/super.c @@ -38,7 +38,6 @@ static int ext4_load_journal(struct super_block *, struct ext4_super_block *, unsigned long journal_devnum); static int ext4_show_options(struct seq_file *seq, struct dentry *root); static void ext4_update_super(struct super_block *sb); -static int ext4_commit_super(struct super_block *sb); static int ext4_mark_recovery_complete(struct super_block *sb, struct ext4_super_block *es); static int ext4_clear_journal_err(struct super_block *sb, @@ -6153,7 +6152,7 @@ static void ext4_update_super(struct super_block *sb) unlock_buffer(sbh); } -static int ext4_commit_super(struct super_block *sb) +int ext4_commit_super(struct super_block *sb) { struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; -- 2.43.0