[JFFS2] Simplify writebuffer handling
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 09:49:14 +0000 (11:49 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 09:49:14 +0000 (11:49 +0200)
commitdcb0932884b801290efd80fbc37630297b98181f
treec6519feda290a963087958f1e196abec11866d49
parentce4c61f184864991881ec789f7524f4b332eaafc
[JFFS2] Simplify writebuffer handling

The writev based write buffer implementation was far to complex as
in most use cases the write buffer had to be handled anyway.
Simplify the write buffer handling and use mtd->write instead.

From extensive testing no performance impact has been noted.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/wbuf.c