]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "pktcdvd: push BKL down into driver"
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Aug 2008 20:35:31 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Aug 2008 20:42:00 +0000 (13:42 -0700)
commitc63d0164f8d6c20d86381f4d30680f52e94008b3
tree5bc2cc5946ca7e783df18e0a8310b39b1de462f8
parent0f9c730dac0c34e07d19bc213e49c7e47546d6c3
Revert "pktcdvd: push BKL down into driver"

This reverts commit 2014f73082f0d373ec295a8f86510358d2bc6dc6, 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>
drivers/block/pktcdvd.c