]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: set correct gluebi device size
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 5 May 2007 13:33:13 +0000 (16:33 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:52:51 +0000 (16:52 +0300)
commit43801acbcca614e29d45285476c04a7673f2a13d
treeddee58cc8960994237c83c852227a301dfc8378e
parentd71a3e9e7158e524db231fd058d5f62df4373ffe
UBI: set correct gluebi device size

In case of static volumes, make emulated MTD device size to
be equivalent to data size, rather then volume size.

Reported-by: John Smith <john@arrows.demon.co.uk>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/gluebi.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/ubi.h