Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86951
b: refs/heads/master
c: 31ed0bf
h: refs/heads/master
i:
  86949: 31acce6
  86947: 47243e6
  86943: 9fa4ae7
v: v3
  • Loading branch information
Mike Christie authored and James Bottomley committed Feb 27, 2008
1 parent 071d659 commit d9ebb39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions 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: e2396f1e4ecd438a15fa653a028b93e95013caa3
refs/heads/master: 31ed0bf439a15363c28c7a239f52eb127cb6feb3
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/libiscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1708,8 +1708,8 @@ iscsi_session_setup(struct iscsi_transport *iscsit,
qdepth = ISCSI_DEF_CMD_PER_LUN;
}

if (!is_power_of_2(cmds_max) ||
cmds_max >= ISCSI_MGMT_ITT_OFFSET) {
if (!is_power_of_2(cmds_max) || cmds_max >= ISCSI_MGMT_ITT_OFFSET ||
cmds_max < 2) {
if (cmds_max != 0)
printk(KERN_ERR "iscsi: invalid can_queue of %d. "
"can_queue must be a power of 2 and between "
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/scsi_transport_iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define ISCSI_SESSION_ATTRS 19
#define ISCSI_CONN_ATTRS 13
#define ISCSI_HOST_ATTRS 4
#define ISCSI_TRANSPORT_VERSION "2.0-868"
#define ISCSI_TRANSPORT_VERSION "2.0-869"

struct iscsi_internal {
int daemon_pid;
Expand Down

0 comments on commit d9ebb39

Please sign in to comment.