diff options
| author | Christoph Hellwig <[email protected]> | 2006-03-24 03:15:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-24 07:33:16 -0800 |
| commit | 13c6204facb01d425320411c17febff666875518 (patch) | |
| tree | df58981381da42532e0910694361eadb1c133ea9 /scripts/basic/split-include.c | |
| parent | 61d3ad0edf67e3baa66f124bc9ce964523d41809 (diff) | |
[PATCH] s390: use normal switch statement for ioctls in dasd_ioctlc
Handle ioctls implemented in dasd_ioctl through the normal switch statement
that most drivers use instead of the awkward dasd_ioctl_no_register routine.
This avoids searching a linear list on every call to dasd_ioctl(), and allows
to give the various ioctl implementation functions sane prototypes, aswell as
moving the check for bdev->bd_disk->private_data from the individual functions
to dasd_ioctl. (I think it can't actually every be NULL, but let's keep that
for later)
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions