[JFFS2] Correct buggy length checks
authorArtem B. Bityutskiy <dedekind@infradead.org>
Thu, 4 Aug 2005 11:40:02 +0000 (12:40 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 17:35:36 +0000 (18:35 +0100)
commit3c09133739beff0d5ad457dfcfc85c7c350d3661
tree171320f1919f6be98a90a08c3a88d84120456967
parent392435081e8cc6e02bdc4fa998050abb11d331b4
[JFFS2] Correct buggy length checks

The previous changes introduced wrong length calculations.

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