From: FUJITA Tomonori Date: Thu, 9 Jul 2009 07:48:28 +0000 (+0200) Subject: block: call blk_scsi_ioctl_init() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=76da03467a1a78811777561bbb1fa56175ee4778;p=openwrt%2Fstaging%2Fblogic.git block: call blk_scsi_ioctl_init() Currently, blk_scsi_ioctl_init() is not called since it lacks an initcall marking. This causes the command table to be unitialized, hence somce commands are block when they should not have been. This fixes a regression introduced by commit 018e0446890661504783f92388ecce7138c1566d Signed-off-by: FUJITA Tomonori Signed-off-by: Jens Axboe --- diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index f0e0ce0a607d..e5b10017a50b 100644 --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c @@ -680,3 +680,4 @@ int __init blk_scsi_ioctl_init(void) blk_set_cmd_filter_defaults(&blk_default_cmd_filter); return 0; } +fs_initcall(blk_scsi_ioctl_init);