OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_5-56-g9e9bce4
Gerrit Code Review
gerrit@openafs.org
Wed, 11 Sep 2013 14:22:26 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 9e9bce4b5ff987ce72a7923ca2d2765797d47f5b
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Apr 22 17:09:18 2010 -0500
Remove the global tempHeader/stuff structures
Currently, volinodes.h defines an array ('stuff') for easily accessing
information about different inode types. Part of the array points to
parts of a global 'tempHeader' structure, making this not threadsafe.
Change this into an interface which utilizes local storage to make
this threadsafe and remove those horridly-named global variables.
This adds the init_inode_info static inline function, for initializing
a local inode information table.
Reviewed-on: http://gerrit.openafs.org/1869
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit d8f2debce49a8a0eb310bdaf8ad0ee7601a0542e)
Change-Id: I1567e9184327b1cfa397b0bf37d611c2e8c2b8a1
Reviewed-on: http://gerrit.openafs.org/9409
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/vol-salvage.c | 6 +++-
src/vol/vol-salvage.h | 2 +-
src/vol/volinodes.h | 97 +++++++++++++++++++++++++++++++++++++------------
src/vol/vutil.c | 16 +++++---
4 files changed, 90 insertions(+), 31 deletions(-)
--
OpenAFS Master Repository