fs/jffs/: cleanups
PATCH 1/1 fs/jffs/: cleanups
This patch contains the following cleanups:
- make needlessly global functions static
- provide some debugging helper functions only for appropriate values of CONFIG_JFFS_FS_VERBOSE
Signed-off-by Adrian Bunk <[email protected]>
---
This patch was already sent on:
- 23 Apr 2005
fs/jffs/intrep.c | 114 ++++++++++++++++++++++------------------------ fs/jffs/intrep.h | 2 fs/jffs/jffs_fm.c | 105 +++++++++++++++++++++--------------------- fs/jffs/jffs_fm.h | 3 - 4 files changed, 112 insertions(+), 112 deletions(-)
fs/jffs/intrep.h renamed from fs/jffs/intrep.h.old +0 -2
@@ -49,8 +49,6 @@void jffs_garbage_collect_trigger (struct jffs_control *c);/* For debugging purposes. */ -void jffs_print_node (struct jffs_node *n); -void jffs_print_raw_inode (struct jffs_raw_inode *raw_inode);#if 0 int jffs_print_file (struct jffs_file *f);#endif /* 0 */
fs/jffs/intrep.c renamed from fs/jffs/intrep.c.old +56 -58
128 lines not on this page · raw message
fs/jffs/jffs_fm.h renamed from fs/jffs/jffs_fm.h.old +2 -1
@@ -139,8 +139,9 @@void jffs_fmfree_partly (struct jffs_fmcontrol *fmc,struct jffs_fm *fm,__u32 size); +#if CONFIG_JFFS_FS_VERBOSE >0 void jffs_print_fmcontrol (struct jffs_fmcontrol *fmc); -void jffs_print_fm (struct jffs_fm *fm); +#endif #if 0 void jffs_print_node_ref (struct jffs_node_ref *ref);#endif /* 0 */
fs/jffs/jffs_fm.c renamed from fs/jffs/jffs_fm.c.old +54 -51
114 lines not on this page · raw message