android_kernel_xiaomi_sm8350/drivers/block
Linus Torvalds 8560c650f3 Revert "pktcdvd: push BKL down into driver"
This reverts commit 5b6155ee70, because
the block device ioctl's really aren't ready for it.

In particular, the "struct file *" and the "struct inode *" arguments do
not necessarily match, which means that the unlocked version of the
ioctl (that only gets a "struct file *") isn't actually able to handle
the cases it needs to handle.

This fixes bugzilla

	http://bugzilla.kernel.org/show_bug.cgi?id=11401

Reported-and-bisected-by: Laurent Riffard <laurent.riffard@free.fr>
Acked-by: Peter Osterlund <petero2@telia.com>
Cc: Alan Cox <alan@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-27 13:42:00 -07:00
..
aoe Remove newline from the description of module parameters 2008-08-01 12:46:41 -07:00
paride device create: block: convert device_create to device_create_drvdata 2008-07-21 21:54:41 -07:00
amiflop.c m68k: Return -ENODEV if no device is found 2008-05-18 13:28:50 -07:00
ataflop.c m68k: Return -ENODEV if no device is found 2008-07-20 17:24:38 -07:00
brd.c brd: fix name argument of unregister_blkdev() 2008-08-20 15:40:30 -07:00
cciss_cmd.h
cciss_scsi.c cciss: add support for multi lun tape devices 2008-08-06 12:30:04 +02:00
cciss_scsi.h
cciss.c cciss: fix bug if scsi tape support is disabled 2008-08-06 12:30:04 +02:00
cciss.h cciss: make rebuild_lun_table behave better 2008-08-06 12:30:03 +02:00
cpqarray.c proc: remove proc_root_driver 2008-04-29 08:06:18 -07:00
cpqarray.h
cryptoloop.c drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
DAC960.c DAC960: push down BKL 2008-07-04 09:52:13 +02:00
DAC960.h
floppy.c drivers/block/floppy.c: replace init_module&cleanup_module with module_init&module_exit 2008-04-29 08:06:03 -07:00
hd.c hd.c: remove the #include <linux/mc146818rtc.h> 2008-07-16 20:33:48 +02:00
ida_cmd.h
ida_ioctl.h
Kconfig update the BLK_DEV_HD help text 2008-07-16 20:33:47 +02:00
loop.c block: make queue flags non-atomic 2008-04-29 14:48:33 +02:00
Makefile move ide/legacy/hd.c to drivers/block/ 2008-07-16 20:33:47 +02:00
nbd.c nbd: fix memory leak of nbd_dev array 2008-08-20 15:40:30 -07:00
pktcdvd.c Revert "pktcdvd: push BKL down into driver" 2008-08-27 13:42:00 -07:00
ps3disk.c block: no need to initialize rq->cmd in prepare_flush_fn hook 2008-04-29 14:48:54 +02:00
smart1,2.h
sunvdc.c
swim3.c
sx8.c block: replace remaining __FUNCTION__ occurrences 2008-04-21 09:51:04 +02:00
ub.c ub: Cosmetics 2008-05-02 10:25:52 -07:00
umem.c
umem.h
viodasd.c [POWERPC] iSeries: Remove unused mail address 2008-05-23 16:45:04 +10:00
virtio_blk.c virtio_blk: check for hardsector size from host 2008-07-25 12:06:05 +10:00
xd.c
xd.h
xen-blkfront.c xen-blkfront.c: make blkif_ioctl() static 2008-08-06 12:30:04 +02:00
xsysace.c
z2ram.c m68k: Return -ENODEV if no device is found 2008-05-18 13:28:50 -07:00