From f52f1522367819712ea678b4e3cdf4644571fc57 Mon Sep 17 00:00:00 2001 From: Tom Keiser Date: Thu, 10 Jul 2008 19:14:40 +0000 Subject: [PATCH] dafs-update-exclusive-states-20080710 LICENSE IPL10 VOL_STATE_SALVSYNC_REQ is a mutally exclusive state. don't allow other things to attempt to trigger that state when an exclusive state is already present --- src/vol/volume_inline.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vol/volume_inline.h b/src/vol/volume_inline.h index 35945d677..89f40a6b9 100644 --- a/src/vol/volume_inline.h +++ b/src/vol/volume_inline.h @@ -37,8 +37,6 @@ * @retval 1 yes, state is mutually exclusive * * @note DEMAND_ATTACH_FS only - * - * @note should VOL_STATE_SALVSYNC_REQ be treated as exclusive? */ static_inline int VIsExclusiveState(VolState state) @@ -51,6 +49,7 @@ VIsExclusiveState(VolState state) case VOL_STATE_HDR_ATTACHING: case VOL_STATE_OFFLINING: case VOL_STATE_DETACHING: + case VOL_STATE_SALVSYNC_REQ: case VOL_STATE_VNODE_ALLOC: case VOL_STATE_VNODE_GET: case VOL_STATE_VNODE_CLOSE: -- 2.39.5