From: Adrian Bunk __journal_abort_hard() can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/jbd/journal.c | 2 +- include/linux/jbd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/jbd/journal.c~make-jbd-journalc__journal_abort_hard-static fs/jbd/journal.c --- a/fs/jbd/journal.c~make-jbd-journalc__journal_abort_hard-static +++ a/fs/jbd/journal.c @@ -1457,7 +1457,7 @@ static const char *journal_dev_name(jour * Aborts hard --- we mark the abort as occurred, but do _nothing_ else, * and don't attempt to make any other journal updates. */ -void __journal_abort_hard(journal_t *journal) +static void __journal_abort_hard(journal_t *journal) { transaction_t *transaction; char b[BDEVNAME_SIZE]; diff -puN include/linux/jbd.h~make-jbd-journalc__journal_abort_hard-static include/linux/jbd.h --- a/include/linux/jbd.h~make-jbd-journalc__journal_abort_hard-static +++ a/include/linux/jbd.h @@ -922,7 +922,6 @@ extern int journal_recover (journa extern int journal_wipe (journal_t *, int); extern int journal_skip_recovery (journal_t *); extern void journal_update_superblock (journal_t *, int); -extern void __journal_abort_hard (journal_t *); extern void journal_abort (journal_t *, int); extern int journal_errno (journal_t *); extern void journal_ack_err (journal_t *); _