vos offline: Bring volume back online for -busy
authorAndrew Deason <adeason@sinenomine.net>
Fri, 14 Oct 2011 16:32:34 +0000 (11:32 -0500)
committerDerrick Brashear <shadow@dementix.org>
Mon, 24 Oct 2011 20:12:37 +0000 (13:12 -0700)
commit8c7202fb9ea9cf5e5c888000ec84fd9b7478068d
treee6e4e8a29775ac71947b28701c824372ba91c776
parent547d94edd3affb5f377cd1b3db39c46ca0cf5aec
vos offline: Bring volume back online for -busy

vos offline is supposed to bring a volume back online from "busy"
status before exiting, as volumes should not be in "busy" status for
extended periods of time. This was being enforced by required that
-sleep be specified; however, -sleep only results in the volume being
brought back online if a non-zero sleep time was specified. So, make
sure the volume is brought back online if -busy was specified.

Change-Id: I6e605771fcfcabbb09f6dcfd0576c062f64ad93f
Reviewed-on: http://gerrit.openafs.org/5620
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/volser/vos.c