raw-posix: cleanup ioctl methods
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Jun 2009 12:04:34 +0000 (14:04 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 15 Jun 2009 12:04:34 +0000 (14:04 +0200)
commit63ec93db2178c8caaecd546e640f2fa2296c0a5a
treec29e92cd52ff7f8231e901a92ec10b93a15d7d65
parent508c7cb3fa666f0c4723946869f318ec7751ecbd
raw-posix: cleanup ioctl methods

Rename raw_ioctl and raw_aio_ioctl to hdev_ioctl and hdev_aio_ioctl as they
are only used for the host device.  Also only add them to the method table
for the cases where we need them (generic hdev if linux and linux CDROM)
instead of declaring stubs and always add them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/raw-posix.c