sg: restore command permission for TYPE_SCANNER
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 26 Jul 2008 09:03:24 +0000 (18:03 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 27 Aug 2008 07:50:19 +0000 (09:50 +0200)
commit14e507b852e7dcea142b98757181bfa785cb4c05
treeef8cdb387c26d9ffc23354653b072818e884d9f8
parentabf5439370491dd6fbb4fe1a7939680d2a9bc9d4
sg: restore command permission for TYPE_SCANNER

sg allowed any command for TYPE_SCANNER. The cmd_filter patchset
doesn't. We can't change sg's permission since it might break the
existing software.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sg.c