OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-8-gd8f2deb
Gerrit Code Review
gerrit@openafs.org
Wed, 18 Aug 2010 23:59:26 -0700 (PDT)
The following commit has been merged in the master branch:
commit d8f2debce49a8a0eb310bdaf8ad0ee7601a0542e
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.
Change-Id: If4562e724fd7a8e5f8166ea0fe409d6765d0de2b
Reviewed-on: http://gerrit.openafs.org/1869
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/vol-salvage.c | 6 +++-
src/vol/vol-salvage.h | 2 +-
src/vol/volinodes.h | 97 +++++++++++++++++++++++++++++++++++++------------
src/vol/vutil.c | 15 +++++---
4 files changed, 89 insertions(+), 31 deletions(-)
--
OpenAFS Master Repository