DAFS: Allow LEAVE_OFF for DELETED volumes
authorAndrew Deason <adeason@sinenomine.net>
Wed, 2 Mar 2011 21:02:40 +0000 (15:02 -0600)
committerDerrick Brashear <shadow@dementia.org>
Fri, 4 Mar 2011 15:36:08 +0000 (07:36 -0800)
commitddf5ae4f746f2b5e522e10cfcacb6225499e7956
tree6455bd655669f98e9ad23515d995451ac6ec9d34
parentbb25fc6418bac937b31476754a09199636c24211
DAFS: Allow LEAVE_OFF for DELETED volumes

When a volume is VOL_STATE_DELETED, it effectively does not exist to
other programs over FSSYNC. So, do not prevent someone from issuing a
FSYNC_VOL_LEAVE_OFF for a VOL_STATE_DELETED volume.

Change-Id: Ifb8f5437c7f6888bc06968297d841072d1f3316a
Reviewed-on: http://gerrit.openafs.org/4119
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/fssync-server.c