Replicate r307507 for ATA disks.
MFC after: 2 weeks
This commit is contained in:
parent
bb7115b938
commit
5beb5b768d
@ -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