summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/vmt.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-06 19:47:30 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 20:15:14 +0300
commit393852ecfeec575ac78216b0eb58e4fd92f0816c (patch)
tree99edbcd7fee9cdaa69f51187834f93ada73feada /drivers/mtd/ubi/vmt.c
parent94780d4de2e9339ab93df63420db70f11882634d (diff)
downloadlinux-393852ecfeec575ac78216b0eb58e4fd92f0816c.tar.xz
UBI: add ubi_leb_map interface
The idea of this interface belongs to Adrian Hunter. The interface is extremely useful when one has to have a guarantee that an LEB will contain all 0xFFs even in case of an unclean reboot. UBI does have an 'ubi_leb_erase()' call which may do this, but it is stupid and ineffecient, because it flushes whole queue. I should be re-worked to just be a pair of unmap, map calls. The user of the interfaci is UBIFS at the moment. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/vmt.c')
0 files changed, 0 insertions, 0 deletions