diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-03-04 11:00:26 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-03-04 12:52:33 +0100 |
commit | 4d283ee2517303afa54ad6cbd9342a2f748cf509 (patch) | |
tree | 20d97ac0b5528504fcea064382bd38d6f2432b8e /drivers/mtd/ubi/cdev.c | |
parent | UBI: R/O block driver on top of UBI volumes (diff) | |
download | linux-4d283ee2517303afa54ad6cbd9342a2f748cf509.tar.xz linux-4d283ee2517303afa54ad6cbd9342a2f748cf509.zip |
UBI: block: do not use term "attach"
We already use term attach/detach for UBI->MTD relations, let's not use this
for UBI->ubiblock relations to avoid confusion. Just use 'create' and 'remove'
instead. E.g., "create a R/O block device on top of a UBI volume".
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r-- | drivers/mtd/ubi/cdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index 39d377489c29..11c847349642 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c @@ -567,7 +567,7 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, struct ubi_volume_info vi; ubi_get_volume_info(desc, &vi); - err = ubiblock_add(&vi); + err = ubiblock_create(&vi); break; } @@ -577,7 +577,7 @@ static long vol_cdev_ioctl(struct file *file, unsigned int cmd, struct ubi_volume_info vi; ubi_get_volume_info(desc, &vi); - err = ubiblock_del(&vi); + err = ubiblock_remove(&vi); break; } |