Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316786
b: refs/heads/master
c: 9e1a153
h: refs/heads/master
v: v3
  • Loading branch information
Josh Hunt authored and James Bottomley committed Jul 20, 2012
1 parent f60c9ec commit 4bb5625
Show file tree
Hide file tree
Showing 3 changed files with 3 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: bb2c94a3a6ad37fe7d34f369295bcdf5387e264f
refs/heads/master: 9e1a15376bce2fc7746145eb8ee78a3674658bc8
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/hosts.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include "scsi_logging.h"


static atomic_t scsi_host_next_hn; /* host_no for next new host */
static atomic_t scsi_host_next_hn = ATOMIC_INIT(0); /* host_no for next new host */


static void scsi_host_cls_release(struct device *dev)
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/scsi/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2704,6 +2704,7 @@ static int sd_probe(struct device *dev)
sdkp->disk = gd;
sdkp->index = index;
atomic_set(&sdkp->openers, 0);
atomic_set(&sdkp->device->ioerr_cnt, 0);

if (!sdp->request_queue->rq_timeout) {
if (sdp->type != TYPE_MOD)
Expand Down

0 comments on commit 4bb5625

Please sign in to comment.