mirror of https://github.com/torvalds/linux.git
This patch allows block device drivers to convert their ioctl functions to unlocked_ioctl() like character devices and other subsystems. All functions that were called with the BKL held before are still used that way, but I would not be surprised if it could be removed from the ioctl functions in drivers/block/ioctl.c themselves. As a side note, I found that compat_blkdev_ioctl() acquires the BKL as well, which looks like a bug. I have checked that every user of disk->fops->compat_ioctl() in the current git tree gets the BKL itself, so it could easily be removed from compat_blkdev_ioctl(). Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
|---|---|---|
| .. | ||
| aoe | ||
| paride | ||
| DAC960.c | ||
| DAC960.h | ||
| Kconfig | ||
| Kconfig.iosched | ||
| Makefile | ||
| acsi.c | ||
| acsi_slm.c | ||
| amiflop.c | ||
| as-iosched.c | ||
| ataflop.c | ||
| cciss.c | ||
| cciss.h | ||
| cciss_cmd.h | ||
| cciss_scsi.c | ||
| cciss_scsi.h | ||
| cfq-iosched.c | ||
| cpqarray.c | ||
| cpqarray.h | ||
| cryptoloop.c | ||
| deadline-iosched.c | ||
| elevator.c | ||
| floppy.c | ||
| genhd.c | ||
| ida_cmd.h | ||
| ida_ioctl.h | ||
| ioctl.c | ||
| ll_rw_blk.c | ||
| loop.c | ||
| nbd.c | ||
| noop-iosched.c | ||
| pktcdvd.c | ||
| ps2esdi.c | ||
| rd.c | ||
| scsi_ioctl.c | ||
| smart1,2.h | ||
| swim3.c | ||
| swim_iop.c | ||
| sx8.c | ||
| ub.c | ||
| umem.c | ||
| viodasd.c | ||
| xd.c | ||
| xd.h | ||
| z2ram.c | ||