[JFFS2] Calculate CRC check starting point correctly
authorArtem B. Bityutskiy <dedekind@infradead.org>
Wed, 17 Aug 2005 14:57:43 +0000 (15:57 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 19:29:56 +0000 (20:29 +0100)
commit280562b2104c9a0ca7efc5e716b6452a7ba820fa
tree6dcee70d0ec3da6fbb8afd9e05e6b73c1a46e97a
parent8d5df40954281a8e0f788b311f9c08f96e530ffa
[JFFS2] Calculate CRC check starting point correctly

When data starts from the beginning of NAND page, 'len' must be zero, not
c->wbuf_page.

Thanks to Zoltan Sogor for reporting this problem.

Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/nodelist.c
fs/jffs2/readinode.c