OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_73_3-58-g349f533
Gerrit Code Review
gerrit@openafs.org
Fri, 16 Apr 2010 20:05:50 -0700 (PDT)
The following commit has been merged in the master branch:
commit 349f533351a8a13a7fa2a14edd9139714064c82d
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Thu Apr 15 23:58:21 2010 -0400
Windows: split cm_buf_t.flags field to ensure proper locking
It turns out that for all these years the locks protecting
the cm_buf_t flags field have been racy. Some of the flags
were protected by the cm_buf_t mutex and others by the
buf_globalLock. This patchset splits the flags field so that
the appropriate lock will be used exclusively to protect a
common set of flags.
LICENSE MIT
Change-Id: I85c98c85244c987df30a811d405f7d897e407ba2
Reviewed-on: http://gerrit.openafs.org/1759
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_buf.c | 48 ++++++++++++++++++++++----------------------
src/WINNT/afsd/cm_buf.h | 16 +++++++++-----
src/WINNT/afsd/cm_scache.c | 2 +-
3 files changed, 35 insertions(+), 31 deletions(-)
--
OpenAFS Master Repository