Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116300
b: refs/heads/master
c: 099ed4c
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 17, 2008
1 parent fcc70f1 commit d7b3d6d
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: 0a70c7f67a24b45e105ad10ac1d7e73fe50ec765
refs/heads/master: 099ed4c2f5d54a5e1e490250805fb9727d622c0c
2 changes: 1 addition & 1 deletion trunk/drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,6 @@ static int idedisk_open(struct inode *inode, struct file *filp)
idkp->openers++;

if ((drive->dev_flags & IDE_DFLAG_REMOVABLE) && idkp->openers == 1) {
check_disk_change(inode->i_bdev);
/*
* Ignore the return code from door_lock,
* since the open() has already succeeded,
Expand All @@ -851,6 +850,7 @@ static int idedisk_open(struct inode *inode, struct file *filp)
if ((drive->dev_flags & IDE_DFLAG_DOORLOCKING) &&
idedisk_set_doorlock(drive, 1))
drive->dev_flags &= ~IDE_DFLAG_DOORLOCKING;
check_disk_change(inode->i_bdev);
}
return 0;
}
Expand Down

0 comments on commit d7b3d6d

Please sign in to comment.