summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/file.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2012-03-22 21:00:50 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 01:03:00 +0100
commita7baef1211b0ac218299965481e7cff9d68c1edd (patch)
treed9737628c725cb983dfebf9958c3093c4f66573d /fs/jffs2/file.c
parenta78da28776496d3a850ce741d3474b65057e156b (diff)
mtd: docg3 fix inbound calculations
The last erase block was not accessible, as the out of bound check was incorrectly rejecting the last block. The read/write/erase offset checks were forbidding the usage of the last block, because of the calculation which was considering the byte after the last instead of the last byte. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/file.c')
0 files changed, 0 insertions, 0 deletions