From 88fc9ada4cfaee354199480916d139400ee0ef5b Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 30 Sep 2010 12:39:22 -0500 Subject: [PATCH] viced: Allow checkout of VOL_STATE_DELETED volumes The fileserver allows nonexistent volumes to be checked out. Since VOL_STATE_DELETED volumes conceptually do not exist, we should also allow them to be checked out. Change-Id: Ibc0f761569b339579acff03a3cbd9f795f783e0a Reviewed-on: http://gerrit.openafs.org/2873 Reviewed-by: Tom Keiser Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/vol/fssync-server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vol/fssync-server.c b/src/vol/fssync-server.c index d5e2dca6a..ab9afc951 100644 --- a/src/vol/fssync-server.c +++ b/src/vol/fssync-server.c @@ -966,6 +966,7 @@ FSYNC_com_VolOff(FSSYNC_VolOp_command * vcom, SYNC_response * res) case VOL_STATE_PREATTACHED: case VOL_STATE_SALVAGING: case VOL_STATE_ERROR: + case VOL_STATE_DELETED: /* register the volume operation metadata with the volume * * if the volume is currently pre-attached, attach2() @@ -993,6 +994,7 @@ FSYNC_com_VolOff(FSSYNC_VolOp_command * vcom, SYNC_response * res) case VOL_STATE_PREATTACHED: case VOL_STATE_SALVAGING: case VOL_STATE_ERROR: + case VOL_STATE_DELETED: /* register the volume operation metadata with the volume * * if the volume is currently pre-attached, attach2() -- 2.39.5