Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252456
b: refs/heads/master
c: a061f57
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and James Bottomley committed May 24, 2011
1 parent ebea514 commit 95f1097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 8e910965975a125fff806acae80ab2b640a8dac7
refs/heads/master: a061f57d662ac2b19a1ff1955349adce7a282a5d
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/osst.c
Original file line number Diff line number Diff line change
Expand Up @@ -4702,8 +4702,9 @@ static int __os_scsi_tape_open(struct inode * inode, struct file * filp)
STp->partition = STp->new_partition = 0;
if (STp->can_partitions)
STp->nbr_partitions = 1; /* This guess will be updated later if necessary */
for (i=0; i < ST_NBR_PARTITIONS; i++) {
STps = &(STp->ps[i]);
int j;
for (j = 0; j < ST_NBR_PARTITIONS; j++) {
STps = &(STp->ps[j]);
STps->rw = ST_IDLE;
STps->eof = ST_NOEOF;
STps->at_sm = 0;
Expand Down

0 comments on commit 95f1097

Please sign in to comment.