UBI: rename block device ioctls
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 5 Mar 2014 11:01:56 +0000 (13:01 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 5 Mar 2014 13:49:15 +0000 (15:49 +0200)
commit8af871887fcba470ff9265c65cff7d14d9e0e3f9
tree7bd29431422649a5c241b72a746150af10bb76ca
parent80744cc92207baa913ac9575374738b6298032eb
UBI: rename block device ioctls

Rename the UBI_IOCVOLATTBLK and UBI_IOCVOLDETBLK to UBI_IOCVOLCRBLK and
UBI_IOCVOLRMBLK, because we do not use terms "attach" and "detach" for the R/O
block devices on top of UBI volumes. Instead, we use terms "create" and
"remove". This patch also amends the related commentaries.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
drivers/mtd/ubi/block.c
drivers/mtd/ubi/cdev.c
include/uapi/mtd/ubi-user.h