Skip to content

Commit

Permalink
make jbd/journal.c:__journal_abort_hard() static
Browse files Browse the repository at this point in the history
__journal_abort_hard() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 6, 2008
1 parent e86e143 commit 5330838
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion fs/jbd/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ static const char *journal_dev_name(journal_t *journal, char *buffer)
* 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];
Expand Down
1 change: 0 additions & 1 deletion include/linux/jbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,6 @@ extern int journal_recover (journal_t *journal);
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 *);
Expand Down

0 comments on commit 5330838

Please sign in to comment.