Replicate r307507 for ATA disks.

MFC after:	2 weeks
This commit is contained in:
mav 2016-10-17 08:38:24 +00:00
parent bb7115b938
commit 5beb5b768d

View File

@ -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);
}