Skip to content

Commit

Permalink
3893 lvm: incorrect flag handling
Browse files Browse the repository at this point in the history
Reviewed by: Theo Schlossnagle <jesus@omniti.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Dan McDonald <danmcd@nexenta.com>
  • Loading branch information
Prasad Joshi authored and Dan McDonald committed Jul 17, 2013
1 parent 5bc7ce9 commit 3e7c655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/io/lvm/mirror/mirror.c
Expand Up @@ -4015,7 +4015,7 @@ mirror_write_strategy(buf_t *pb, int flag, void *private)
* 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;
}
Expand Down

0 comments on commit 3e7c655

Please sign in to comment.