Re: [PATCH 2.5.45] Export blkdev_ioctl for raw block driver.

Alexander Viro
2002-11-01T00:05:00Z

On Thu, 31 Oct 2002, Bob Miller wrote:

> diff -Nru a/kernel/ksyms.c b/kernel/ksyms.c
> --- a/kernel/ksyms.c Thu Oct 31 16:47:14 2002
> +++ b/kernel/ksyms.c Thu Oct 31 16:47:14 2002
> @@ -349,6 +349,7 @@
> EXPORT_SYMBOL(blkdev_open);
> EXPORT_SYMBOL(blkdev_get);
> EXPORT_SYMBOL(blkdev_put);
> +EXPORT_SYMBOL(blkdev_ioctl);

Why not use ioctl_by_bdev() in the first place? (and yes, it's very likely
my fault - I hadn't realized that raw.c went modular at some point).