| Submitter | Artem Bityutskiy |
|---|---|
| Date | Jan. 10, 2012, 1:35 p.m. |
| Message ID | <1326202513.8847.20.camel@sauron.fi.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/135242/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c index a01cdad..eafb8d3 100644 --- a/fs/jffs2/erase.c +++ b/fs/jffs2/erase.c @@ -335,7 +335,7 @@ static int jffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_erasebl void *ebuf; uint32_t ofs; size_t retlen; - int ret = -EIO; + int ret; unsigned long *wordebuf; ret = mtd_point(c->mtd, jeb->offset, c->sector_size, &retlen,