diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-15 08:03:51 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-15 10:05:06 -0400 |
commit | 77a7ae580c6cc8a0f0d5d7a7d61eb7e9fe8d99dc (patch) | |
tree | 299adfb136ca146d9bbfd7e171351ab971c1b93d /fs/ubifs/debug.h | |
parent | d6d140097beb554daa967d3fb576e94ad2f82dcd (diff) |
UBIFS: improve journal head debugging prints
Convert the journal head integer into the head name when printing
debugging information.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r-- | fs/ubifs/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h index fe2c9274c6a9..29d960101ea6 100644 --- a/fs/ubifs/debug.h +++ b/fs/ubifs/debug.h | |||
@@ -271,6 +271,7 @@ void ubifs_debugging_exit(struct ubifs_info *c); | |||
271 | /* Dump functions */ | 271 | /* Dump functions */ |
272 | const char *dbg_ntype(int type); | 272 | const char *dbg_ntype(int type); |
273 | const char *dbg_cstate(int cmt_state); | 273 | const char *dbg_cstate(int cmt_state); |
274 | const char *dbg_jhead(int jhead); | ||
274 | const char *dbg_get_key_dump(const struct ubifs_info *c, | 275 | const char *dbg_get_key_dump(const struct ubifs_info *c, |
275 | const union ubifs_key *key); | 276 | const union ubifs_key *key); |
276 | void dbg_dump_inode(const struct ubifs_info *c, const struct inode *inode); | 277 | void dbg_dump_inode(const struct ubifs_info *c, const struct inode *inode); |
@@ -427,6 +428,7 @@ void dbg_debugfs_exit_fs(struct ubifs_info *c); | |||
427 | 428 | ||
428 | #define dbg_ntype(type) "" | 429 | #define dbg_ntype(type) "" |
429 | #define dbg_cstate(cmt_state) "" | 430 | #define dbg_cstate(cmt_state) "" |
431 | #define dbg_jhead(jhead) "" | ||
430 | #define dbg_get_key_dump(c, key) ({}) | 432 | #define dbg_get_key_dump(c, key) ({}) |
431 | #define dbg_dump_inode(c, inode) ({}) | 433 | #define dbg_dump_inode(c, inode) ({}) |
432 | #define dbg_dump_node(c, node) ({}) | 434 | #define dbg_dump_node(c, node) ({}) |