volser: DoVolDelete returning VNOVOL is success 76/12976/4
authorJeffrey Altman <jaltman@auristor.com>
Sat, 24 Mar 2018 05:22:54 +0000 (01:22 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 30 Jun 2018 19:27:06 +0000 (15:27 -0400)
commit328590dc5669cae3db6c509871b612b0384ea33d
tree2a91515ad41ac27928b264c23df5bb51a2864b5a
parent0322dd56b20b2e2fd6eb7f217964174fb5d25cdd
volser: DoVolDelete returning VNOVOL is success

When moving, copying or releasing volumes, do not treat a failure
to delete a volume because the volume no longer exists as an error.
The volume clone has flags

  VTDeleteOnSalvage | VTOutOfService

assigned to it which means that the fileserver won't attach the volume
and volume has its deleteMe field assigned the value of DESTROY_ME.
Such a volume will be deleted the next time the salvager scans the
partition.  Once the transaction is complete the volume might be
removed.

Change-Id: I0bd38906e3836e0c96f3784a8bd9ad63f5b857c6
Reviewed-on: https://gerrit.openafs.org/12976
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/volser/vsprocs.c