mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[JFFS2] Introduce dbg_readinode2 log level, use it to shut read_dnode() up
We haven't seen bugs in this for a while now, since the rewrite. No need to be _quite_ so verbose... Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
422b120238
commit
2c61cb250c
2 changed files with 14 additions and 7 deletions
|
@ -38,6 +38,7 @@
|
|||
|
||||
#if CONFIG_JFFS2_FS_DEBUG > 1
|
||||
#define JFFS2_DBG_FRAGTREE2_MESSAGES
|
||||
#define JFFS2_DBG_READINODE2_MESSAGES
|
||||
#define JFFS2_DBG_MEMALLOC_MESSAGES
|
||||
#endif
|
||||
|
||||
|
@ -115,6 +116,11 @@
|
|||
#else
|
||||
#define dbg_readinode(fmt, ...)
|
||||
#endif
|
||||
#ifdef JFFS2_DBG_READINODE2_MESSAGES
|
||||
#define dbg_readinode2(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
|
||||
#else
|
||||
#define dbg_readinode2(fmt, ...)
|
||||
#endif
|
||||
|
||||
/* Fragtree build debugging messages */
|
||||
#ifdef JFFS2_DBG_FRAGTREE_MESSAGES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue