Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
551e28dbe8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;