diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-03-08 03:35:10 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-03-09 07:29:39 -0500 |
commit | 0feba829ee82a6e43baabe3f0bdf91bd937a67a1 (patch) | |
tree | a12bbe59f2d8a9ff208a4670395c9a1fae5bbbd7 /fs/jffs2/wbuf.c | |
parent | c7258a4477b5ed0243c28ec107b98bb946757448 (diff) |
[JFFS2] print a message when marking bad block
New bad eraseblock is an event which is important enough to be printed
about.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/wbuf.c')
-rw-r--r-- | fs/jffs2/wbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/wbuf.c b/fs/jffs2/wbuf.c index 23028b384418..4fac6dd53954 100644 --- a/fs/jffs2/wbuf.c +++ b/fs/jffs2/wbuf.c | |||
@@ -1090,7 +1090,7 @@ int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock * | |||
1090 | if (!c->mtd->block_markbad) | 1090 | if (!c->mtd->block_markbad) |
1091 | return 1; // What else can we do? | 1091 | return 1; // What else can we do? |
1092 | 1092 | ||
1093 | D1(printk(KERN_WARNING "jffs2_write_nand_badblock(): Marking bad block at %08x\n", bad_offset)); | 1093 | printk(KERN_WARNING "JFFS2: marking eraseblock at %08x\n as bad", bad_offset); |
1094 | ret = c->mtd->block_markbad(c->mtd, bad_offset); | 1094 | ret = c->mtd->block_markbad(c->mtd, bad_offset); |
1095 | 1095 | ||
1096 | if (ret) { | 1096 | if (ret) { |