Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135579
b: refs/heads/master
c: e7cbbf1
h: refs/heads/master
i:
  135577: b660fe1
  135575: c24b78e
v: v3
  • Loading branch information
Boaz Harrosh authored and Jens Axboe committed Mar 26, 2009
1 parent 064f029 commit 7ac035f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 1cd96c242a829d52f7a5ae98f554ca9775429685
refs/heads/master: e7cbbf1bf17e3c706f874e867f7b744e1c86fed9
3 changes: 0 additions & 3 deletions trunk/block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,6 @@ bsg_validate_sgv4_hdr(struct request_queue *q, struct sg_io_v4 *hdr, int *rw)

if (hdr->guard != 'Q')
return -EINVAL;
if (hdr->dout_xfer_len > (q->max_sectors << 9) ||
hdr->din_xfer_len > (q->max_sectors << 9))
return -EIO;

switch (hdr->protocol) {
case BSG_PROTOCOL_SCSI:
Expand Down

0 comments on commit 7ac035f

Please sign in to comment.