compat_ioctl: ignore RAID_VERSION ioctl
authorArnd Bergmann <arnd@arndb.de>
Wed, 10 Feb 2010 15:14:04 +0000 (16:14 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Feb 2010 15:36:16 +0000 (07:36 -0800)
commitf79f11852831ba8837e82b73364e6f1cd0145499
tree250450363c2aa1e43980ab0d61bdf07352ec139b
parente28cab42f384745c8a947a9ccd51e4aae52f5d51
compat_ioctl: ignore RAID_VERSION ioctl

md ioctls are now handled by the md driver itself, but mdadm
may call RAID_VERSION on other devices as well. Mark the command
as IGNORE_IOCTL so this fails silently rather than printing
an annoying message.

Reported-by: "Michael S. Tsirkin" <m.s.tsirkin@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/compat_ioctl.c