Browse Source

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
Linus Torvalds 15 years ago
parent
commit
551e28dbe8
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/mtd/ubi/cdev.c

+ 0 - 1
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;