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);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to