block: push BKL into blktrace ioctls
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Jul 2010 14:51:26 +0000 (16:51 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:26:08 +0000 (18:26 +0200)
commit62c2a7d969f30163f733c81158254b3095b23e72
tree3e5dd79d874b996757814562b874a18415599a61
parent6e9624b8caec290d28b4c6d9ec75749df6372b87
block: push BKL into blktrace ioctls

The blktrace driver currently needs the BKL, but
we should not need to take that in the block layer,
so just push it down into the driver itself.

It is quite likely that the BKL is not actually
required in blktrace code and could be removed
in a follow-on patch.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/compat_ioctl.c
block/ioctl.c
include/linux/blktrace_api.h
kernel/trace/blktrace.c