sg: fix odd style (extra parenthesis) introduced by cmd filter patch

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2008-06-26 19:45:54 +02:00
parent 07359fc61b
commit 2b272d4f79
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ sg_new_write(Sg_fd *sfp, struct file *file, const char __user *buf,
sg_remove_request(sfp, srp);
return -EFAULT;
}
if (read_only && (!blk_verify_command(file, cmnd))) {
if (read_only && !blk_verify_command(file, cmnd)) {
sg_remove_request(sfp, srp);
return -EPERM;
}