]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DAFS: Do not attach a specialStatus'd vol
authorAndrew Deason <adeason@sinenomine.net>
Tue, 21 Jun 2011 21:25:14 +0000 (16:25 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sat, 9 Jul 2011 05:07:44 +0000 (22:07 -0700)
commiteb2d0d9d48f2f1e372ad438ad6ed0cb6516dbcc8
treec7ecfff9d76cf65efbbdcf0b3d89bc18ba3a80a2
parentd55f70792e98e01b3540cdcfad6751a05bf9e645
DAFS: Do not attach a specialStatus'd vol

If we encounter a preattached volume during GetVolume, we currently
ignore vp->specialStatus before trying to attach. However, we will
generally always fail to attach due to a conflicting vol op, but even
if we don't, GetVolume always returns an error later on if
vp->specialStatus is set. So, same some processing and attempted
attachments by bailing out sooner if vp->specialStatus is set.

Reviewed-on: http://gerrit.openafs.org/4874
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit f5349051abebd15fc2f2d77ff5b6dc81e09bdf47)

Change-Id: I3593a50b5867c671fe462abd40b50dcbbd2c5204
Reviewed-on: http://gerrit.openafs.org/4945
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/volume.c