Replicate r307507 for ATA disks.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2016-10-17 08:38:24 +00:00
parent 3d946e4f5e
commit 55a1720717

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