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)
commitfc353a93031fc9528b5590e3f44790d23e6fff11
treec29e92cd52ff7f8231e901a92ec10b93a15d7d65
parent0968db3e1f89506967b70305225f4a2937cf7119
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