diff options
author | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-08-22 09:23:56 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-08-22 09:23:56 -0400 |
commit | d37854cf99319966f34bb19c7a897b87d478b56c (patch) | |
tree | 31a1d7eb0403fc33feaebb3fd4d010e326ac0330 /fs/ubifs/debug.h | |
parent | 93ee7a9340d64f20295aacc3fb6a22b759323280 (diff) |
UBIFS: introduce a helper to dump scanning info
This commit adds 'dbg_dump_sleb()' helper function to dump scanning
information.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r-- | fs/ubifs/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h index 45174b534377..2bf84211e320 100644 --- a/fs/ubifs/debug.h +++ b/fs/ubifs/debug.h | |||
@@ -269,6 +269,8 @@ void dbg_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp); | |||
269 | void dbg_dump_lprops(struct ubifs_info *c); | 269 | void dbg_dump_lprops(struct ubifs_info *c); |
270 | void dbg_dump_lpt_info(struct ubifs_info *c); | 270 | void dbg_dump_lpt_info(struct ubifs_info *c); |
271 | void dbg_dump_leb(const struct ubifs_info *c, int lnum); | 271 | void dbg_dump_leb(const struct ubifs_info *c, int lnum); |
272 | void dbg_dump_sleb(const struct ubifs_info *c, | ||
273 | const struct ubifs_scan_leb *sleb, int offs); | ||
272 | void dbg_dump_znode(const struct ubifs_info *c, | 274 | void dbg_dump_znode(const struct ubifs_info *c, |
273 | const struct ubifs_znode *znode); | 275 | const struct ubifs_znode *znode); |
274 | void dbg_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat); | 276 | void dbg_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat); |
@@ -387,6 +389,9 @@ static inline void dbg_dump_lpt_info(struct ubifs_info *c) { return; } | |||
387 | static inline void dbg_dump_leb(const struct ubifs_info *c, | 389 | static inline void dbg_dump_leb(const struct ubifs_info *c, |
388 | int lnum) { return; } | 390 | int lnum) { return; } |
389 | static inline void | 391 | static inline void |
392 | dbg_dump_sleb(const struct ubifs_info *c, | ||
393 | const struct ubifs_scan_leb *sleb, int offs) { return; } | ||
394 | static inline void | ||
390 | dbg_dump_znode(const struct ubifs_info *c, | 395 | dbg_dump_znode(const struct ubifs_info *c, |
391 | const struct ubifs_znode *znode) { return; } | 396 | const struct ubifs_znode *znode) { return; } |
392 | static inline void dbg_dump_heap(struct ubifs_info *c, | 397 | static inline void dbg_dump_heap(struct ubifs_info *c, |