changeset 14082:6db1b9319cfc

3893 lvm: incorrect flag handling Reviewed by: Theo Schlossnagle <jesus@omniti.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Dan McDonald <danmcd@nexenta.com>
author Prasad Joshi <pjoshi@stec-inc.com>
date Wed, 17 Jul 2013 15:47:52 -0400
parents dfcd374b3af2
children eac51815a73b
files usr/src/uts/common/io/lvm/mirror/mirror.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/lvm/mirror/mirror.c	Thu Jul 04 18:25:13 2013 +0400
+++ b/usr/src/uts/common/io/lvm/mirror/mirror.c	Wed Jul 17 15:47:52 2013 -0400
@@ -4015,7 +4015,7 @@
 		 * completed this resync region
 		 */
 		if ((MD_MNSET_SETNO(MD_UN2SET(un))) &&
-		    (!flag & MD_STR_DIRTY_RD)) {
+		    (!(flag & MD_STR_DIRTY_RD))) {
 			if (!IN_RESYNC_REGION(un, ps))
 				abort_write = 1;
 		}