Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84202
b: refs/heads/master
c: c2056e1
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Korolev authored and David Woodhouse committed Nov 28, 2007
1 parent cc32acf commit f658082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c24e4161e80a5c03e9d969b5db73d8553846037
refs/heads/master: c2056e1e1ddcca8d43e89543e1795e4457f5d1e9
2 changes: 1 addition & 1 deletion trunk/fs/jffs2/readinode.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info
* adding and jffs2_flash_read_end() interface. */
if (c->mtd->point) {
err = c->mtd->point(c->mtd, ofs, len, &retlen, &buffer);
if (!err && retlen < tn->csize) {
if (!err && retlen < len) {
JFFS2_WARNING("MTD point returned len too short: %zu instead of %u.\n", retlen, tn->csize);
c->mtd->unpoint(c->mtd, buffer, ofs, retlen);
} else if (err)
Expand Down

0 comments on commit f658082

Please sign in to comment.