From: FUJITA Tomonori Date: Thu, 9 Jul 2009 07:48:28 +0000 (+0200) Subject: block: call blk_scsi_ioctl_init() X-Git-Tag: 2.1b_release~11852^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76da03467a1a78811777561bbb1fa56175ee4778;p=platform%2Fkernel%2Fkernel-mfld-blackbay.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 f0e0ce0..e5b1001 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);