Commit 76da03467a1a78811777561bbb1fa56175ee4778

Authored by FUJITA Tomonori
Committed by Jens Axboe
1 parent 8aa7e847d8

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 <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -680,4 +680,5 @@
680 680 blk_set_cmd_filter_defaults(&blk_default_cmd_filter);
681 681 return 0;
682 682 }
  683 +fs_initcall(blk_scsi_ioctl_init);