Date: Mon, 17 Oct 2016 08:38:25 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r307509 - head/sys/cam/ata Message-ID: <201610170838.u9H8cPYl037518@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610170838.u9H8cPYl037518>