@@ -248,7 +248,7 @@ handle_t *ext4_journal_start_sb(struct super_block *sb, int nblocks)
248248 journal = EXT4_SB (sb )-> s_journal ;
249249 if (journal ) {
250250 if (is_journal_aborted (journal )) {
251- ext4_abort (sb , __func__ , "Detected aborted journal" );
251+ ext4_abort (sb , "Detected aborted journal" );
252252 return ERR_PTR (- EROFS );
253253 }
254254 return jbd2_journal_start (journal , nblocks );
@@ -464,8 +464,8 @@ void __ext4_std_error(struct super_block *sb, const char *function, int errno)
464464 * case we take the easy way out and panic immediately.
465465 */
466466
467- void ext4_abort (struct super_block * sb , const char * function ,
468- const char * fmt , ...)
467+ void __ext4_abort (struct super_block * sb , const char * function ,
468+ const char * fmt , ...)
469469{
470470 va_list args ;
471471
@@ -660,8 +660,7 @@ static void ext4_put_super(struct super_block *sb)
660660 err = jbd2_journal_destroy (sbi -> s_journal );
661661 sbi -> s_journal = NULL ;
662662 if (err < 0 )
663- ext4_abort (sb , __func__ ,
664- "Couldn't clean up the journal" );
663+ ext4_abort (sb , "Couldn't clean up the journal" );
665664 }
666665
667666 ext4_release_system_zone (sb );
@@ -3605,7 +3604,7 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data)
36053604 }
36063605
36073606 if (sbi -> s_mount_flags & EXT4_MF_FS_ABORTED )
3608- ext4_abort (sb , __func__ , "Abort forced by user" );
3607+ ext4_abort (sb , "Abort forced by user" );
36093608
36103609 sb -> s_flags = (sb -> s_flags & ~MS_POSIXACL ) |
36113610 (test_opt (sb , POSIX_ACL ) ? MS_POSIXACL : 0 );
0 commit comments