summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4_jbd2.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2014-05-12 18:50:23 +0400
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 18:50:23 +0400
commitc197855ea14175a25003c276824689e8ba318e53 (patch)
treeb01d69bebe4c4dc5ca276447ec9d16bece30c723 /fs/ext4/ext4_jbd2.c
parente674e5cbd0942b42a12106ac0be8330f4301bef4 (diff)
downloadlinux-c197855ea14175a25003c276824689e8ba318e53.tar.xz
ext4: make local functions static
I have been running make namespacecheck to look for unneeded globals, and found these in ext4. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.c')
-rw-r--r--fs/ext4/ext4_jbd2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/ext4/ext4_jbd2.c b/fs/ext4/ext4_jbd2.c
index c3fb607413ed..0074e0d23d6e 100644
--- a/fs/ext4/ext4_jbd2.c
+++ b/fs/ext4/ext4_jbd2.c
@@ -122,9 +122,10 @@ handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
return handle;
}
-void ext4_journal_abort_handle(const char *caller, unsigned int line,
- const char *err_fn, struct buffer_head *bh,
- handle_t *handle, int err)
+static void ext4_journal_abort_handle(const char *caller, unsigned int line,
+ const char *err_fn,
+ struct buffer_head *bh,
+ handle_t *handle, int err)
{
char nbuf[16];
const char *errstr = ext4_decode_error(NULL, err, nbuf);