OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3447-g4932954

Gerrit Code Review gerrit@openafs.org
Sat, 23 Feb 2013 00:21:56 -0800 (PST)


The following commit has been merged in the master branch:
commit 49329541a13cdee3361d0246256a27d2a5ee8bef
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Jan 25 02:21:27 2013 -0500

    Windows: Add flag BUF_GET_FLAG_BUFCREATE_LOCKED
    
    Modify the buf_Get() and buf_GetNewLocked() interfaces to
    permit the cm_scache.bufCreateLocked lock to be held prior to
    calling to buf_Get().  Holding the cm_scache.bufCreateLocked lock
    before the buf_Get() call prevents a race with another thread
    that attempts to set the file size.
    
    Change-Id: I54b13c83801a4d9a2078552d5be7ada6f4607850
    Reviewed-on: http://gerrit.openafs.org/9209
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsd/cm_buf.c             |   32 +++++++++++++++++++++-----------
 src/WINNT/afsd/cm_buf.h             |    6 ++++--
 src/WINNT/afsd/cm_dcache.c          |    4 ++--
 src/WINNT/afsd/cm_dir.c             |    4 ++--
 src/WINNT/afsd/cm_vnodeops.c        |    4 ++--
 src/WINNT/afsd/rawops.c             |    4 ++--
 src/WINNT/afsd/smb.c                |    6 +++---
 src/WINNT/afsd/smb3.c               |    2 +-
 src/WINNT/afsrdr/user/RDRFunction.c |    4 ++--
 9 files changed, 39 insertions(+), 27 deletions(-)

-- 
OpenAFS Master Repository