]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DAFS: Do not record vol ops for DELETED vols
authorAndrew Deason <adeason@sinenomine.net>
Wed, 23 Mar 2011 21:46:47 +0000 (16:46 -0500)
committerDerrick Brashear <shadow@dementix.org>
Wed, 2 Nov 2011 02:33:44 +0000 (19:33 -0700)
commit65050695a903dc12cc392d7b326cdbedfa1bf681
tree13269c2d3cb2429a2170a2fc1158153b09e72c3d
parent1da664f520afbc81505f692e470e8efed46dab36
DAFS: Do not record vol ops for DELETED vols

When a volume is VOL_STATE_DELETED, it effectively does not exist, so
there is little point in recording a vp->pending_vol_op structure for
it. Just let callers checkout the volume as they would a nonexistent
volume: without recording anything about the operation.

This just reduces some edge cases and confusing debugging info, so we
don't have to worry about cleaning up pending_vol_op structures for
nonexistent volumes.

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

Change-Id: Ica0c53e62ed885710210c7e1344e12b382302572
Reviewed-on: http://gerrit.openafs.org/5761
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/vol/fssync-server.c