]> err.no Git - linux-2.6/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)
commit8560c650f340565b720fd57d1f9c99ab216d99d0
tree5bc2cc5946ca7e783df18e0a8310b39b1de462f8
parent1941246dd98089dd637f44d3bd4f6cc1c61aa9e4
Revert "pktcdvd: push BKL down into driver"

This reverts commit 5b6155ee70e9c4d2ad7e6f514c8eee06e2711c3a, 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