Commit d394e122 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] make fs/jbd/transaction.c:__journal_temp_unlink_buffer() static

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8487f2e4
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/highmem.h> #include <linux/highmem.h>
static void __journal_temp_unlink_buffer(struct journal_head *jh);
/* /*
* get_transaction: obtain a new transaction_t object. * get_transaction: obtain a new transaction_t object.
* *
...@@ -1499,7 +1501,7 @@ __blist_del_buffer(struct journal_head **list, struct journal_head *jh) ...@@ -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. * 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; struct journal_head **list = NULL;
transaction_t *transaction; transaction_t *transaction;
......
...@@ -839,7 +839,6 @@ struct journal_s ...@@ -839,7 +839,6 @@ struct journal_s
*/ */
/* Filing buffers */ /* 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(journal_t *, struct journal_head *);
extern void __journal_unfile_buffer(struct journal_head *); extern void __journal_unfile_buffer(struct journal_head *);
extern void __journal_refile_buffer(struct journal_head *); extern void __journal_refile_buffer(struct journal_head *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment