[PATCH 0/3] Export UBI map/unmap/is_mapped in userspace

Corentin Chary corentin.chary at gmail.com
Mon Jan 5 09:39:11 EST 2009


> In your patches I do not see why these ioctl's are enabled only if the
> CONFIG_MTD_UBI_DEBUG_USERSPACE_IO configuration option is switched on.
> It looks like the ioctl's are always enabled.
>
Look the litle "#endif" at the end, it's the one for "#ifdef
CONFIG_MTD_UBI_DEBUG_USERSPACE_IO" used for UBI_IOCEBER

We make these using CONFIG_MTD_UBI_DEBUG_USERSPACE_IO only because
direct write and erase use that too.
But if you make it non-debugging, it'll be easier for us.

-- 
Corentin Chary
http://xf.iksaif.net



More information about the linux-mtd mailing list