diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2006-09-29 10:58:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:03 +0200 |
commit | f71b2f10f56802075d67c5710cd9f1816382d720 (patch) | |
tree | a0a85e3827d70fc0b2b9bfe771c9e35c32c83559 /fs/jbd/recovery.c | |
parent | [PATCH] Fix uninitialised spinlock in via-pmu-backlight code. (diff) | |
download | linux-f71b2f10f56802075d67c5710cd9f1816382d720.tar.xz linux-f71b2f10f56802075d67c5710cd9f1816382d720.zip |
[PATCH] JBD: Make journal_brelse_array() static
It's always good to make symbols static when we can, and this also eliminates
the need to rename the function in jbd2
Suggested by Eric Sandeen.
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jbd/recovery.c')
-rw-r--r-- | fs/jbd/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd/recovery.c b/fs/jbd/recovery.c index 445eed6ce5dc..11563fe2a52b 100644 --- a/fs/jbd/recovery.c +++ b/fs/jbd/recovery.c @@ -46,7 +46,7 @@ static int scan_revoke_records(journal_t *, struct buffer_head *, #ifdef __KERNEL__ /* Release readahead buffers after use */ -void journal_brelse_array(struct buffer_head *b[], int n) +static void journal_brelse_array(struct buffer_head *b[], int n) { while (--n >= 0) brelse (b[n]); |