block: remove BKL from partition ioctls
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Jul 2010 14:51:28 +0000 (16:51 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:26:08 +0000 (18:26 +0200)
commit15392efb9d427482754f6d267262452878667499
treee71dd54c88454971750436f5b4e5e512b0c9368a
parent6de43703108bb1d3fc9495b3e8107d6ec72f97e4
block: remove BKL from partition ioctls

The blkpg_ioctl and blkdev_reread_part access fields of
the bdev and gendisk structures, yet they always do so
under the protection of bdev->bd_mutex, which seems
sufficient.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
cked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/ioctl.c