OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1075-g9bf314d

Gerrit Code Review gerrit@openafs.org
Sat, 16 Apr 2011 13:50:37 -0700 (PDT)


The following commit has been merged in the master branch:
commit 9bf314d90a1b639e46212ba077d95b2a45d79bca
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Wed Apr 13 15:21:46 2011 +0100

    libafs: Remove afs_write duplication
    
    The afs_write() code for memory and disk cache suffered from exactly
    the same duplication problems as the afs_read() code.
    
    Apply a similar fix - unify afs_UFSWrite and afs_MemWrite into a single
    afs_write function, place the UFS specific code into afs_UFSWriteUIO,
    and make use of the existing afs_MemWriteUIO for the memcache case.
    
    Change-Id: I074e1f56597e5cf04d13a45bcda5ad5fedb6377f
    Reviewed-on: http://gerrit.openafs.org/4465
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/VNOPS/afs_vnop_write.c |  401 ++++++++++------------------------------
 src/afs/afs.h                  |    3 -
 src/afs/afs_chunkops.h         |    3 +-
 src/afs/afs_dcache.c           |    8 +-
 src/afs/afs_memcache.c         |    2 +-
 src/afs/afs_prototypes.h       |   11 +-
 6 files changed, 112 insertions(+), 316 deletions(-)

-- 
OpenAFS Master Repository