UBI: add ioctl for unmap operation
authorCorentin Chary <corentincj@iksaif.net>
Mon, 5 Jan 2009 13:46:19 +0000 (14:46 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 18 Jan 2009 12:02:08 +0000 (14:02 +0200)
commitc3da23be1673be4e738aea235604b4e6cb259655
tree876a7f8625e2c733bd87f58f1980e9b40031f8a0
parent141e6ebd1b1759bd5cebf092b7216b6f1c7b4c4f
UBI: add ioctl for unmap operation

This patch adds ioctl for the LEB unmap operation (as a debugging
option so far).

[Re-named ioctl to make it look the same as the other one and made
 some minor stylistic changes. Artem Bityutskiy.]

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c
include/mtd/ubi-user.h