UBI: introduce atomic LEB change ioctl
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Jan 2008 14:15:14 +0000 (16:15 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 25 Jan 2008 14:41:25 +0000 (16:41 +0200)
commit866136827b9a71c39dcb06d23ce523f719eab74b
tree4ec353d1c0b4ad8bc43ea9f692268c654ba79f63
parent60c031531a85b3580f66c2530f9b2802adcad4df
UBI: introduce atomic LEB change ioctl

We have to be able to change individual LEBs for utilities like
ubifsck, ubifstune. For example, ubifsck has to be able to fix
errors on the media, ubifstune has to be able to change the
the superblock, hence this ioctl.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
include/linux/mtd/ubi.h
include/mtd/ubi-user.h