aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/befs/debug.c')
-rw-r--r--fs/befs/debug.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/fs/befs/debug.c b/fs/befs/debug.c
index 85c13392e9e8..36656c86f50e 100644
--- a/fs/befs/debug.c
+++ b/fs/befs/debug.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * linux/fs/befs/debug.c 2 * linux/fs/befs/debug.c
3 * 3 *
4 * Copyright (C) 2001 Will Dyson (will_dyson at pobox.com) 4 * Copyright (C) 2001 Will Dyson (will_dyson at pobox.com)
5 * 5 *
6 * With help from the ntfs-tng driver by Anton Altparmakov 6 * With help from the ntfs-tng driver by Anton Altparmakov
@@ -57,6 +57,7 @@ befs_debug(const struct super_block *sb, const char *fmt, ...)
57 57
58 struct va_format vaf; 58 struct va_format vaf;
59 va_list args; 59 va_list args;
60
60 va_start(args, fmt); 61 va_start(args, fmt);
61 vaf.fmt = fmt; 62 vaf.fmt = fmt;
62 vaf.va = &args; 63 vaf.va = &args;
@@ -67,7 +68,7 @@ befs_debug(const struct super_block *sb, const char *fmt, ...)
67} 68}
68 69
69void 70void
70befs_dump_inode(const struct super_block *sb, befs_inode * inode) 71befs_dump_inode(const struct super_block *sb, befs_inode *inode)
71{ 72{
72#ifdef CONFIG_BEFS_DEBUG 73#ifdef CONFIG_BEFS_DEBUG
73 74
@@ -151,7 +152,7 @@ befs_dump_inode(const struct super_block *sb, befs_inode * inode)
151 */ 152 */
152 153
153void 154void
154befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) 155befs_dump_super_block(const struct super_block *sb, befs_super_block *sup)
155{ 156{
156#ifdef CONFIG_BEFS_DEBUG 157#ifdef CONFIG_BEFS_DEBUG
157 158
@@ -202,7 +203,7 @@ befs_dump_super_block(const struct super_block *sb, befs_super_block * sup)
202#if 0 203#if 0
203/* unused */ 204/* unused */
204void 205void
205befs_dump_small_data(const struct super_block *sb, befs_small_data * sd) 206befs_dump_small_data(const struct super_block *sb, befs_small_data *sd)
206{ 207{
207} 208}
208 209
@@ -221,7 +222,8 @@ befs_dump_run(const struct super_block *sb, befs_disk_block_run run)
221#endif /* 0 */ 222#endif /* 0 */
222 223
223void 224void
224befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super) 225befs_dump_index_entry(const struct super_block *sb,
226 befs_disk_btree_super *super)
225{ 227{
226#ifdef CONFIG_BEFS_DEBUG 228#ifdef CONFIG_BEFS_DEBUG
227 229
@@ -242,7 +244,7 @@ befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * supe
242} 244}
243 245
244void 246void
245befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead * node) 247befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *node)
246{ 248{
247#ifdef CONFIG_BEFS_DEBUG 249#ifdef CONFIG_BEFS_DEBUG
248 250