diff --git a/src/vol/volume.c b/src/vol/volume.c index 8f6e83f3f9..9ca566cc0c 100644 --- a/src/vol/volume.c +++ b/src/vol/volume.c @@ -4108,9 +4108,17 @@ GetVolume(Error * ec, Error * client_ec, VolId volumeId, Volume * hint, if (!vp->pending_vol_op) { endloop = 1; } + if (vp->specialStatus) { + *ec = vp->specialStatus; + } break; + default: - *ec = VNOVOL; + if (vp->specialStatus) { + *ec = vp->specialStatus; + } else { + *ec = VNOVOL; + } endloop = 1; } if (endloop) {