Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98902
b: refs/heads/master
c: 2b272d4
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Jul 3, 2008
1 parent 29e16c9 commit 24c77ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07359fc61bb8ed786f96a1c24cca6f94dd17e329
refs/heads/master: 2b272d4f7953a73ea1c1f7ba33d5a2d7439ce71b
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 24c77ae

Please sign in to comment.