Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252457
b: refs/heads/master
c: 6e2037b
h: refs/heads/master
i:
  252455: ebea514
v: v3
  • Loading branch information
Andrew Morton authored and James Bottomley committed May 24, 2011
1 parent 95f1097 commit a226fec
Show file tree
Hide file tree
Showing 2 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: a061f57d662ac2b19a1ff1955349adce7a282a5d
refs/heads/master: 6e2037b0fd4d4ad9be941a3520d21945bc031a20
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/osst.c
Original file line number Diff line number Diff line change
Expand Up @@ -4698,11 +4698,12 @@ static int __os_scsi_tape_open(struct inode * inode, struct file * filp)
break;

if ((SRpnt->sense[2] & 0x0f) == UNIT_ATTENTION) {
int j;

STp->pos_unknown = 0;
STp->partition = STp->new_partition = 0;
if (STp->can_partitions)
STp->nbr_partitions = 1; /* This guess will be updated later if necessary */
int j;
for (j = 0; j < ST_NBR_PARTITIONS; j++) {
STps = &(STp->ps[j]);
STps->rw = ST_IDLE;
Expand Down

0 comments on commit a226fec

Please sign in to comment.