]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] scsi_ioctl: only warn for rejected commands
authorJens Axboe <axboe@suse.de>
Fri, 7 Oct 2005 17:41:34 +0000 (19:41 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 8 Oct 2005 22:00:57 +0000 (15:00 -0700)
commit3b0e77bd144203a507eb191f7117d2c5004ea1de
tree3af6611ca518b7d9d85ecc36b238878ed571456b
parent8aa19ad84c38cd50bfc0560646efe1c9ca83d925
[PATCH] scsi_ioctl: only warn for rejected commands

We should not be warning about commands that we allow, even if they are
unknown. So move the if-root-allow check up a notch.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/scsi_ioctl.c