Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262339
b: refs/heads/master
c: 8f50c7f
h: refs/heads/master
i:
  262337: cfdcf5c
  262335: abff231
v: v3
  • Loading branch information
Dan Carpenter authored and Nicholas Bellinger committed Jul 27, 2011
1 parent 7f1a36c commit 347291d
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: 4a28a3fa8c37193b105807193b3695048f0050a4
refs/heads/master: 8f50c7f5d63b0e4a29f6f96e8cfaca782e0c458d
2 changes: 1 addition & 1 deletion trunk/drivers/target/iscsi/iscsi_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ struct iscsi_tiqn *iscsit_add_tiqn(unsigned char *buf)
struct iscsi_tiqn *tiqn = NULL;
int ret;

if (strlen(buf) > ISCSI_IQN_LEN) {
if (strlen(buf) >= ISCSI_IQN_LEN) {
pr_err("Target IQN exceeds %d bytes\n",
ISCSI_IQN_LEN);
return ERR_PTR(-EINVAL);
Expand Down

0 comments on commit 347291d

Please sign in to comment.