UBI: fix volume creation input checking
authorMika Westerberg <ext-mika.1.westerberg@nokia.com>
Tue, 26 Jan 2010 15:47:05 +0000 (17:47 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 27 Jan 2010 09:55:43 +0000 (11:55 +0200)
commitc5ce5b46af76f52dea21f467397d24c4ae6cb3ff
treecd45d66f718c6e632ab366e9847129c913821f41
parent92dcffb916d309aa01778bf8963a6932e4014d07
UBI: fix volume creation input checking

Do not use an unchecked variable UBI_IOCMKVOL ioctl.

Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: stable@vger.kernel.org
drivers/mtd/ubi/cdev.c