Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161010
b: refs/heads/master
c: 3c0d1d9
h: refs/heads/master
v: v3
  • Loading branch information
Mike Christie authored and James Bottomley committed Aug 22, 2009
1 parent de08265 commit 5496307
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: a4a8b064dd06d30d007e46445d17575e2875c340
refs/heads/master: 3c0d1d94aa516cad50274fe1aa9f745957b67a65
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/device_handler/scsi_dh_alua.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ static int alua_activate(struct scsi_device *sdev)
goto out;
}

if (h->tpgs == TPGS_MODE_EXPLICIT && h->state != TPGS_STATE_OPTIMIZED)
if (h->tpgs & TPGS_MODE_EXPLICIT && h->state != TPGS_STATE_OPTIMIZED)
err = alua_stpg(sdev, TPGS_STATE_OPTIMIZED, h);

out:
Expand Down

0 comments on commit 5496307

Please sign in to comment.