salvager: Do not AskOnline nonexistent volumes
authorAndrew Deason <adeason@sinenomine.net>
Wed, 23 Mar 2011 21:12:20 +0000 (16:12 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 24 Mar 2011 16:21:29 +0000 (09:21 -0700)
commitf2c1f2ee48663d00701e7cee52b99151e36b9534
tree47f8a17c5ff6b5103b0a4b89e61fffa3e10b913f
parent22149d82d465f5defbe329b3f9b3c5040a6293e9
salvager: Do not AskOnline nonexistent volumes

If singleVolumeNumber is not in our volume summary list, then the
singleVolumeNumber volume does not exist. So, don't try to bring it
back online. Still do try to make sure we don't have the volume
checked out, though, so issue an AskDelete, so ensure that it's not
checked out and that the fileserver does not think it exists.

Change AskDelete so we don't care if we tried to delete a volume that
the fileserver thinks already doesn't exist. Change the FSYNC_VOL_DONE
handler so it does not complain about already-deleted volumes.

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