]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol-salvage: Move global vars into SalvInfo struct
authorAndrew Deason <adeason@sinenomine.net>
Thu, 24 Jun 2010 20:45:05 +0000 (15:45 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Mar 2011 12:14:21 +0000 (04:14 -0800)
commit2232f501c879edb0354878223e69aa8c40e07344
treeefe745cd6f59c25665841af5d42b0c2da0d46af5
parent25529a308e2c4b4fc51ef10c48648316f845a54b
vol-salvage: Move global vars into SalvInfo struct

Reduce the number of globals used in the salvager code, by making
functions pass around a 'salvinfo' structure that contains the
information regarding a particular salvage.

Reviewed-on: http://gerrit.openafs.org/2250
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 3d7388b790ef21de552ec60d379764df067ae421)

Change-Id: I15137994806f0c753a42347c28cadcf48002b800
Reviewed-on: http://gerrit.openafs.org/4163
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/physio.c
src/vol/salvage.h
src/vol/vol-salvage.c
src/vol/vol-salvage.h
src/vol/vol_internal.h