summaryrefslogtreecommitdiff
path: root/fs/jbd/revoke.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-09-06 15:16:41 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:19 -0700
commit022a4a7bbdefdedc2706a13c81c832d8c3173c6d (patch)
treee7bf4f08f02c35b39769a5c2aeeea020c055de99 /fs/jbd/revoke.c
parent202e5979af4d91c7ca05892641131dee22653259 (diff)
downloadlinux-3.10-022a4a7bbdefdedc2706a13c81c832d8c3173c6d.tar.gz
linux-3.10-022a4a7bbdefdedc2706a13c81c832d8c3173c6d.tar.bz2
linux-3.10-022a4a7bbdefdedc2706a13c81c832d8c3173c6d.zip
[PATCH] fs/jbd/: cleanups
This patch contains the following cleanups: - make needlessly global functions static - journal.c: remove the unused global function __journal_internal_check and move the check to journal_init - remove the following write-only global variable: - journal.c: current_journal - remove the following unneeded EXPORT_SYMBOL: - journal.c: journal_recover Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jbd/revoke.c')
-rw-r--r--fs/jbd/revoke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jbd/revoke.c b/fs/jbd/revoke.c
index d327a598f86..93b9f45eebd 100644
--- a/fs/jbd/revoke.c
+++ b/fs/jbd/revoke.c
@@ -116,7 +116,8 @@ static inline int hash(journal_t *journal, unsigned long block)
(block << (hash_shift - 12))) & (table->hash_size - 1);
}
-int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq)
+static int insert_revoke_hash(journal_t *journal, unsigned long blocknr,
+ tid_t seq)
{
struct list_head *hash_list;
struct jbd_revoke_record_s *record;