libafs: put volume disk cache i/o in afs_UFSGetVolSlot
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 8 Mar 2014 17:35:23 +0000 (12:35 -0500)
committerD Brashear <shadow@your-file-system.com>
Tue, 25 Mar 2014 16:48:40 +0000 (09:48 -0700)
commitbbda24f9d324493e3f59c216a465fb2383d8f557
tree77e923f57d09d9c3ad9f3f33a51029f6ae1393ec
parent75e3a5897405eeeba047cca1103ac32ccfaa03dc
libafs: put volume disk cache i/o in afs_UFSGetVolSlot

Move the reading of the volume items file to the afs_UFSGetVolSlot()
to make it more clear the volume items file is not accessed when
memcache is in effect.

This changes the afs_GetVolSlot to return an intialized volume slot,
if one can be gotten.

Change-Id: I0c76ca8c8e1cc19677ce950bfb454755bbbee86a
Reviewed-on: http://gerrit.openafs.org/10878
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/afs/afs_chunkops.h
src/afs/afs_prototypes.h
src/afs/afs_volume.c