libafs: afs_SetupVolSlot function
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 8 Mar 2014 19:30:27 +0000 (14:30 -0500)
committerD Brashear <shadow@your-file-system.com>
Tue, 25 Mar 2014 16:49:18 +0000 (09:49 -0700)
commitd07fb827a6d142142216b3effd32814cd721cc06
tree4973652b07284a72075130b67f3df0a42f1b029c
parentbbda24f9d324493e3f59c216a465fb2383d8f557
libafs: afs_SetupVolSlot function

Move the code block to get and setup volume slots out of
afs_SetupVolume to a new local function called afs_SetupVolSlot.
This new function acquires the afs_xvolume lock and releases it
before returning.

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