[SCSI] sr: split sr_audio_ioctl into specific helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2006 13:28:06 +0000 (14:28 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:54:46 +0000 (10:54 -0600)
commita09c6311217e8fb079c967427d009fe23f2e420e
tree7c50d0900d17a0ce316626103369a5c5ccc1c9c0
parent776b23a0363d99ca402edc1aba1db8099b747b33
[SCSI] sr: split sr_audio_ioctl into specific helpers

split each ioctl handled in sr_audio_ioctl into a function of it's own.
This cleans the code up nicely, and allows various places in sr_ioctl
to call these helpers directly instead of going through the multiplexer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sr_ioctl.c