aboutsummaryrefslogtreecommitdiffstats
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
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 (diff)
parentUBI: fix volume creation input checking (diff)
downloadlinux-dev-551e28dbe82f9de58993d7587201a2569b942341.tar.xz
linux-dev-551e28dbe82f9de58993d7587201a2569b942341.zip
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 f237ddbb2713..111ea41c4ecd 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;