pktcdvd: improve BKL and compat_ioctl.c usage
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Apr 2010 12:36:41 +0000 (14:36 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Apr 2010 15:44:37 +0000 (08:44 -0700)
The pktcdvd driver uses proper locking and does not need the BKL in the
ioctl and llseek functions of the character device, so kill both.

Moving the compat_ioctl handling from common code into the driver itself
fixes build problems when CONFIG_BLOCK is disabled.

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found