summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-01-28 12:57:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-28 12:57:50 -0800
commit551e28dbe82f9de58993d7587201a2569b942341 (patch)
tree8f14618a4f5f016d41eb5b263784e3e2a4dd2bf3 /drivers/mtd
parentb39bda6e7329b1be6dfc2741ed298b6e814532a5 (diff)
parentc5ce5b46af76f52dea21f467397d24c4ae6cb3ff (diff)
Merge branch 'for-linus' of git://git.infradead.org/ubi-2.6
* 'for-linus' of git://git.infradead.org/ubi-2.6: UBI: fix volume creation input checking
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/ubi/cdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index f237ddbb271..111ea41c4ec 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -853,7 +853,6 @@ static long ubi_cdev_ioctl(struct file *file, unsigned int cmd,
break;
}
- req.name[req.name_len] = '\0';
err = verify_mkvol_req(ubi, &req);
if (err)
break;