Skip to content

Commit

Permalink
[PATCH] make fs/jbd/transaction.c:__journal_temp_unlink_buffer() static
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Dec 7, 2006
1 parent 8487f2e commit d394e12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion fs/jbd/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <linux/mm.h>
#include <linux/highmem.h>

static void __journal_temp_unlink_buffer(struct journal_head *jh);

/*
* get_transaction: obtain a new transaction_t object.
*
Expand Down Expand Up @@ -1499,7 +1501,7 @@ __blist_del_buffer(struct journal_head **list, struct journal_head *jh)
*
* Called under j_list_lock. The journal may not be locked.
*/
void __journal_temp_unlink_buffer(struct journal_head *jh)
static void __journal_temp_unlink_buffer(struct journal_head *jh)
{
struct journal_head **list = NULL;
transaction_t *transaction;
Expand Down
1 change: 0 additions & 1 deletion include/linux/jbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,6 @@ struct journal_s
*/

/* Filing buffers */
extern void __journal_temp_unlink_buffer(struct journal_head *jh);
extern void journal_unfile_buffer(journal_t *, struct journal_head *);
extern void __journal_unfile_buffer(struct journal_head *);
extern void __journal_refile_buffer(struct journal_head *);
Expand Down

0 comments on commit d394e12

Please sign in to comment.