Skip to contentSkip to conversation

mtd: Delete final remnants of MTD ioctls from fs/compat_ioctl.c

PATCH David Woodhouse 2 participants 2 messages May 29, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Kevin Cernekee

Move all MTD compat_ioctl logic into drivers/mtd/mtdchar.c

Depends 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
---
 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
#1 lore raw
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 <><