svn commit: r307509 - head/sys/cam/ata

Alexander Motin mav at FreeBSD.org
Mon Oct 17 08:38:26 UTC 2016


Author: mav
Date: Mon Oct 17 08:38:24 2016
New Revision: 307509
URL: https://svnweb.freebsd.org/changeset/base/307509

Log:
  Replicate r307507 for ATA disks.
  
  MFC after:	2 weeks

Modified:
  head/sys/cam/ata/ata_da.c

Modified: head/sys/cam/ata/ata_da.c
==============================================================================
--- head/sys/cam/ata/ata_da.c	Mon Oct 17 08:37:19 2016	(r307508)
+++ head/sys/cam/ata/ata_da.c	Mon Oct 17 08:38:24 2016	(r307509)
@@ -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);
 	}


More information about the svn-src-head mailing list