]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[JFFS2] Fix return value check for mtd->point() in check_node_data()
authorAlexey Korolev <akorolev@infradead.org>
Tue, 27 Nov 2007 11:25:10 +0000 (11:25 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 28 Nov 2007 11:54:55 +0000 (11:54 +0000)
commitc2056e1e1ddcca8d43e89543e1795e4457f5d1e9
tree3712b95719c8794992bca3e68e1996ed63e72a2e
parent6c24e4161e80a5c03e9d969b5db73d8553846037
[JFFS2] Fix return value check for mtd->point() in check_node_data()

If we ask it to map 'len' bytes of the device, don't compare against
some other number and whine that it's different. That's a little silly.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/readinode.c