Replicate r307507 for ATA disks.
MFC after: 2 weeks
This commit is contained in:
parent
3d946e4f5e
commit
55a1720717
@ -926,8 +926,7 @@ adaclose(struct disk *dp)
|
||||
|
||||
if (error != 0)
|
||||
xpt_print(periph->path, "Synchronize cache failed\n");
|
||||
else
|
||||
softc->flags &= ~ADA_FLAG_DIRTY;
|
||||
softc->flags &= ~ADA_FLAG_DIRTY;
|
||||
xpt_release_ccb(ccb);
|
||||
cam_periph_unhold(periph);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user