block: call blk_scsi_ioctl_init()
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 9 Jul 2009 07:48:28 +0000 (09:48 +0200)
committerJens Axboe <axboe@carl.(none)>
Fri, 10 Jul 2009 18:31:53 +0000 (20:31 +0200)
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 <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/scsi_ioctl.c

index f0e0ce0a607dcc54ce08e17da4b54212d98d20a6..e5b10017a50b121a9288d6d0354bfe9ebb15e499 100644 (file)
@@ -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);