projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07359fc
)
sg: fix odd style (extra parenthesis) introduced by cmd filter patch
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 26 Jun 2008 17:45:54 +0000
(19:45 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 3 Jul 2008 11:21:14 +0000
(13:21 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sg.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/sg.c
b/drivers/scsi/sg.c
index f7abccaffaec47c73465b7698bb0c6cdf47ae84e..62b5bd5fd761b03f8f31e799cc839ee6ca5c5a3b 100644
(file)
--- a/
drivers/scsi/sg.c
+++ b/
drivers/scsi/sg.c
@@
-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;
}