mtd: Delete final remnants of MTD ioctls from fs/compat_ioctl.c
Quoted 9 lines · Kevin Cernekee
Move all MTD
compat_ioctllogic intodrivers/mtd/mtdchar.cDepends on this patch set:
http://lkml.org/lkml/2009/4/9/52
http://lkml.org/lkml/2009/4/9/53
http://lkml.org/lkml/2009/4/9/54
http://lkml.org/lkml/2009/4/9/55
Quoted 4 lines
Signed-off-by Kevin Cernekee <[email protected]>--- drivers/mtd/mtdchar.c | 3 ++- fs/compat_ioctl.c | 22 ----------------------
Er, that doesn't move stuff into mtdchar.c. It just deletes it...
Signature · 2 lines
David Woodhouse Open Source Technology Centre [email protected] Intel Corporation
Quoted 1 line · David Woodhouse
Er, that doesn't move stuff into
mtdchar.c. It just deletes it...
The changeset comment could be a little more verbose, but it looks correct to me. The key is calling mtd_ioctl() in the 'default:' case of mtd_compat_ioctl(), which just treats all unhandled ioctl numbers as compatible.
Arnd <><