]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DAFS: Correct FSYNC_VOL_QUERY_VOP checks
authorAndrew Deason <adeason@sinenomine.net>
Thu, 24 Mar 2011 15:22:52 +0000 (10:22 -0500)
committerDerrick Brashear <shadow@dementix.org>
Wed, 2 Nov 2011 02:43:04 +0000 (19:43 -0700)
commit5c2e87190c9d36898831a400d9146ac533a8d844
tree4a9a4138f1f12e2683f6748c91eb512a436e161a
parent66a63e16473f178c69ba4ae6e495fbca5cd2a424
DAFS: Correct FSYNC_VOL_QUERY_VOP checks

Check that the given partition matches the vp partition, and ensure
the vp is not in an exclusive state when we check the state.
Otherwise, we may return pending vol ops for a volume on a different
partition, or we may incorrectly return that there is no pending vol
op when in fact the volume does not exist at all.

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

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