diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-09-22 07:25:00 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 16:20:33 -0500 |
commit | 733802d974e5af42acb7cd61b16c0ce6dd03b7ed (patch) | |
tree | 56f77d78d9a2df474bb1686f5d060ee1e84a4d68 /fs/jffs2/nodemgmt.c | |
parent | b523b3bac3a745fefd6f604082f2ffa09b808e5e (diff) |
[JFFS2] Debug code simplification, update TODO
Simplify the debugging code further.
Update the TODO list
Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/jffs2/nodemgmt.c')
-rw-r--r-- | fs/jffs2/nodemgmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/nodemgmt.c b/fs/jffs2/nodemgmt.c index 2cf576ae1120..2c938d1bffb0 100644 --- a/fs/jffs2/nodemgmt.c +++ b/fs/jffs2/nodemgmt.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: nodemgmt.c,v 1.126 2005/09/16 12:58:17 havasi Exp $ | 10 | * $Id: nodemgmt.c,v 1.127 2005/09/20 15:49:12 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -273,7 +273,7 @@ static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, uin | |||
273 | 273 | ||
274 | if (jeb) { | 274 | if (jeb) { |
275 | reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); | 275 | reserved_size = PAD(sumsize + c->summary->sum_size + JFFS2_SUMMARY_FRAME_SIZE); |
276 | JFFS2_DBG_SUMMARY("minsize=%d , jeb->free=%d ," | 276 | dbg_summary("minsize=%d , jeb->free=%d ," |
277 | "summary->size=%d , sumsize=%d\n", | 277 | "summary->size=%d , sumsize=%d\n", |
278 | minsize, jeb->free_size, | 278 | minsize, jeb->free_size, |
279 | c->summary->sum_size, sumsize); | 279 | c->summary->sum_size, sumsize); |
@@ -291,7 +291,7 @@ static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, uin | |||
291 | } | 291 | } |
292 | 292 | ||
293 | /* Writing out the collected summary information */ | 293 | /* Writing out the collected summary information */ |
294 | JFFS2_DBG_SUMMARY("generating summary for 0x%08x.\n", jeb->offset); | 294 | dbg_summary("generating summary for 0x%08x.\n", jeb->offset); |
295 | ret = jffs2_sum_write_sumnode(c); | 295 | ret = jffs2_sum_write_sumnode(c); |
296 | 296 | ||
297 | if (ret) | 297 | if (ret) |