Do not rely on vol header for V*VolumeHandles_r
authorAndrew Deason <adeason@sinenomine.net>
Thu, 18 Feb 2010 18:21:45 +0000 (12:21 -0600)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Mar 2010 19:04:29 +0000 (11:04 -0800)
commite67e4405b713840dc4b4fec2337462948c55aa4f
tree4256a3bb30859ccaa0091123fd9ca9e873f0aaba
parent804a29034ffcabaf0009b3f41d4acd4f9ba0b056
Do not rely on vol header for V*VolumeHandles_r

VCloseVolumeHandles_r and VReleaseVolumeHandles_r were using V_id to get
the id of the volume; just use vp->hashid so we can call these even if
we lack a header.

Change-Id: I0f0bc0ae82a7b86135aebe194c79a223a6f25094
Reviewed-on: http://gerrit.openafs.org/1348
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/volume.c