]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "UBI: use mtd->writebufsize to set minimal I/O unit size"
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 29 Jan 2011 16:27:13 +0000 (18:27 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 29 Jan 2011 16:27:13 +0000 (18:27 +0200)
commit757ff30fce360e35e20bc5d0ef91dbbb09800fc9
treeb98f0e7cc2dc25cdffcd52dee0f070ab033b5f05
parentd3a81907fb3f349bc2b901bf118a200f0c9a1c16
Revert "UBI: use mtd->writebufsize to set minimal I/O unit size"

This reverts commit a17cf81664b1da85a324327b1693a538916e04b5.

Unfortunately, this commit breaks UBIFS backward compatibility and
makes new UBIFS refuse older UBIFS-formatted media:

UBIFS error: validate_sb: min. I/O unit mismatch: 8 in superblock, 64 real

Thus, we have to revert this patch and work on a better solution.

Reported-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c