OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-115-g36235ec

Gerrit Code Review gerrit@openafs.org
Sat, 23 Feb 2013 19:09:01 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 6fb20629ba9a649ed6a6a87587c769e1b7f79589
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.
    
    Reviewed-on: http://gerrit.openafs.org/9209
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 49329541a13cdee3361d0246256a27d2a5ee8bef)
    
    Change-Id: I44743b3baa7d020e4cefa79a38846336f384a3dd
    Reviewed-on: http://gerrit.openafs.org/9224
    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