瀏覽代碼

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 16 年之前
父節點
當前提交
551e28dbe8
共有 1 個文件被更改,包括 0 次插入1 次删除
  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;