9
0
Fork 0

partition: route through MEMSETBADBLOCK ioctl

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2008-09-02 17:21:02 +02:00
parent e3af15c054
commit 262aea2524
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ static int part_ioctl(struct device_d *dev, int request,
off_t offset;
switch (request) {
case MEMSETBADBLOCK:
case MEMGETBADBLOCK:
offset = (off_t)buf;
offset += part->offset;