Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181339
b: refs/heads/master
c: c7f172d
h: refs/heads/master
i:
  181337: 9f7a44f
  181335: bed1d13
v: v3
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Feb 17, 2010
1 parent 21417b3 commit a5f8757
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 807be732f928c75b3dfb4273fe5f61b34f05df86
refs/heads/master: c7f172dca210bbd105aee02353c6b385c774caac
6 changes: 5 additions & 1 deletion trunk/drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,11 @@ static void adjust_hpsa_scsi_table(struct ctlr_info *h, int hostno,
(void) hpsa_scsi_add_entry(h, hostno, sd[entry],
added, &nadded);
/* add can't fail, we just removed one. */
sd[entry] = NULL; /* prevent it from being freed */

/* Set it to NULL to prevent it from being freed
* at the bottom of hpsa_update_scsi_devices()
*/
sd[entry] = NULL;
}
i++;
}
Expand Down

0 comments on commit a5f8757

Please sign in to comment.