OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-devel-1_5_77-134-ga6a318c
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Oct 2010 21:13:47 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit a6a318c12cda5b7d8309a64f12ecab6bd879d8e8
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Thu Oct 14 17:24:33 2010 -0400
down with assert, up with osi_Assert
because NDEBUG breaks things which happen inside an assert,
be done with that. instead, call osi_Assert wherever possible.
doesn't work for code which builds before rx; those cases we handle
by ensuring no operations happen inside the assert(). side effect:
move all pthread operations wrapped in asserts to MUTEX_mumble and
CV_mumble calls where those exist, so the assertions happen all in
one set of macroes.
Change-Id: I449d0822a39554a1f45b5b509d70e093e7ceb690
Reviewed-on: http://gerrit.openafs.org/3171
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afsd/afsd.c | 13 +-
src/afsd/afsd_kernel.c | 1 -
src/audit/audit.c | 12 +-
src/budb/db_dump.c | 18 +-
src/budb/dbs_dump.c | 32 ++--
src/butc/tcmain.c | 4 -
src/kauth/kalog.c | 1 -
src/libafsrpc/afsrpc.def | 2 +
src/log/unlog.c | 1 -
src/lwp/iomgr.c | 6 +-
src/lwp/lock.c | 47 +++---
src/lwp/lock.h | 8 +-
src/lwp/lwp.c | 64 +++++---
src/lwp/lwp.h | 4 +-
src/lwp/rw.c | 16 +--
src/ptserver/utils.c | 13 +-
src/rx/rx.c | 7 +-
src/rx/rx_lwp.h | 4 +
src/shlibafsrpc/libafsrpc.map | 3 +
src/tsalvaged/Makefile.in | 7 +-
src/ubik/disk.c | 4 +-
src/ubik/recovery.c | 9 +-
src/ubik/ubik.c | 34 ++--
src/ubik/ubik.p.h | 10 +-
src/ubik/ubikclient.c | 15 +-
src/util/Makefile.in | 8 +-
src/util/netutils.c | 36 ++---
src/util/potpourri.h | 110 --------------
src/util/pthread_glock.h | 6 +-
src/util/serverLog.c | 10 +-
src/viced/afsfileprocs.c | 106 +++++++-------
src/viced/callback.c | 23 ++--
src/viced/host.c | 92 ++++++------
src/viced/host.h | 10 +-
src/viced/viced.c | 68 ++++-----
src/viced/viced.h | 22 +--
src/vol/Makefile.in | 5 +-
src/vol/NTMakefile | 1 +
src/vol/clone.c | 6 +-
src/vol/daemon_com.c | 4 +-
src/vol/fssync-client.c | 12 +-
src/vol/fssync-debug.c | 4 +-
src/vol/fssync-server.c | 44 +++---
src/vol/ihandle.c | 75 +++++-----
src/vol/ihandle.h | 13 +-
src/vol/listinodes.c | 8 +-
src/vol/namei_ops.c | 5 +-
src/vol/ntops.c | 2 +-
src/vol/nuke.c | 4 -
src/vol/partition.c | 34 ++---
src/vol/physio.c | 2 +-
src/vol/salvaged.c | 62 ++++----
src/vol/salvsync-client.c | 1 -
src/vol/salvsync-server.c | 45 +++---
src/vol/vg_cache.c | 12 +-
src/vol/vg_scan.c | 2 +-
src/vol/vnode.c | 32 ++---
src/vol/vnode_inline.h | 22 ++--
src/vol/vol-salvage.c | 158 ++++++++++----------
src/vol/volume.c | 329 ++++++++++++++++++++---------------------
src/vol/volume.h | 37 ++---
src/vol/volume_inline.h | 12 +-
src/vol/vutil.c | 70 ++++------
src/volser/Makefile.in | 3 +-
src/volser/dumpstuff.c | 28 ++--
src/volser/physio.c | 2 +-
src/volser/vol_split.c | 4 -
src/volser/volmain.c | 10 +-
src/volser/volprocs.c | 14 +-
src/volser/volser.p.h | 10 +-
src/volser/voltrans.c | 4 -
71 files changed, 845 insertions(+), 1057 deletions(-)
--
OpenAFS Master Repository