UBI: allow direct user-space I/O
authorSidney Amani <seed@uffs.org>
Tue, 27 Jan 2009 09:11:46 +0000 (10:11 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 27 Jan 2009 14:54:41 +0000 (16:54 +0200)
commit766fb95ba06e1bbf531d30dc05e21b2d4a0e8dd2
treea7041e919ca5f6d5460b7d7ecfb27e08b9119236
parent36b477d005fbda29e7581c3cef7ee31a59d8970b
UBI: allow direct user-space I/O

Introduce a new ioctl UBI_IOCSETPROP to set properties
on a volume. Also add the first property:
UBI_PROP_DIRECT_WRITE, this property is used to set the
ability to use direct writes in userspace

Signed-off-by: Sidney Amani <seed@uffs.org>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/Kconfig.debug
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/ubi.h
include/mtd/ubi-user.h