]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[JFFS2] Fix dataflash support
authorArtem B. Bityutskiy <dedekind@infradead.org>
Fri, 30 Sep 2005 13:59:17 +0000 (14:59 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 22:01:48 +0000 (23:01 +0100)
commitdaba5cc4bcd025a9b4fd02a9117c71bfd400d811
treeda74b64b3bbd4ae215ced6d2d54abe7fdf83818e
parent83a368380e172c1b2e9fd6ec2a62e457684adf0c
[JFFS2] Fix dataflash support

- assume wbuf may be of size which is not power of 2
- don't make strange assumption about not padding wbuf for DataFlash
- use wbuf = DataFlash page and eraseblock >= 8 Dataflash pages

From: Peter Menzebach <pm-mtd@mw-itcon.de>
Acked-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/os-linux.h
fs/jffs2/scan.c
fs/jffs2/wbuf.c