]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Fix afs_GetVolume() for non-root dynroot FIDs
authorJeffrey Hutzelman <jhutz@cmu.edu>
Wed, 22 Jul 2009 14:19:28 +0000 (10:19 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 22 Jul 2009 17:05:52 +0000 (10:05 -0700)
commitdd7fd7140ef5f5852c28788eed8e821997f52be4
tree1ba2e1916ce4d86023598839002f0279a0db65a8
parentac2227aac9c1541c24725df9c950e970873f8046
Fix afs_GetVolume() for non-root dynroot FIDs

Make afs_GetVolume() correctly handle requests for fids which are in
the dynroot cell but are not the root of the dynamic root volume.  This
is necessary to allow dynamic root mount points to be looked up and
followed in situations where the dynroot volume is not in the volcache,
but its root vnode is in the vcache.

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/180
Tested-by: Jeffrey Hutzelman <jhutz@cmu.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_dynroot.c
src/afs/afs_prototypes.h
src/afs/afs_volume.c