OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-54-g93fb21a

Gerrit Code Review
Mon, 12 Oct 2009 07:27:51 -0700 (PDT)

The following commit has been merged in the master branch:
commit 93fb21a8d090cea1ce25d0394bff921c44096575
Author: Jeffrey Altman <>
Date:   Mon Oct 12 08:28:54 2009 -0400

    Windows: Correct lock error codes and log file server lockCount
    The error codes that should be returned when a lock request
    fails are:
      STATUS_LOCK_NOT_GRANTED for an explicit lock request
      STATUS_SHARING_VIOLATION when a CreateFile fails due to a previous lock
    Correct the service to ensure that these values are in fact returned.
    Also, add 'fsLockCount' field to cm_scache_t and dump its value
    as part of the "fs memdump" output.  This permits some ability to
    identify what the file server thinks the lock count is.
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsd/cm_memmap.h   |    2 +-
 src/WINNT/afsd/cm_scache.c   |   13 +++++++++----
 src/WINNT/afsd/cm_scache.h   |    5 +++++
 src/WINNT/afsd/cm_vnodeops.c |    4 ++++
 src/WINNT/afsd/smb3.c        |    4 ++--
 5 files changed, 21 insertions(+), 7 deletions(-)

OpenAFS Master Repository