OpenAFS Master Repository branch, master, updated. 262be76294c1c1b2cfdb5e3d77118b6aae5ed430

Gerrit Code Review gerrit@openafs.org
Tue, 21 Jul 2009 06:45:19 -0700 (PDT)


The following commit has been merged in the master branch:
commit 262be76294c1c1b2cfdb5e3d77118b6aae5ed430
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Tue Jul 21 11:58:47 2009 +0100

    Make DRelease take an anonymous pointer
    
    DRelease is used to free data blocks returned by the dir package. These
    can be any of a number of different types, which we were previously
    dealing with by casting everything to (struct buffer *) before calling
    DRelease.
    
    Instead, make DRelease take a (void *), so we can free any dir package
    product without requiring casts.
    
    Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/159
    Reviewed-by: Russ Allbery <rra@stanford.edu>
    Tested-by: Russ Allbery <rra@stanford.edu>

 src/afs/LINUX/osi_vnodeops.c     |    4 +-
 src/afs/VNOPS/afs_vnop_lookup.c  |    6 +-
 src/afs/VNOPS/afs_vnop_readdir.c |   12 +++---
 src/afs/afs_buffer.c             |    3 +-
 src/afs/afs_prototypes.h         |    1 -
 src/dir/buffer.c                 |    6 ++-
 src/dir/dir.c                    |   91 ++++++++++++++++++++-----------------
 src/dir/dir.h                    |    2 +-
 src/dir/salvage.c                |   80 +++++++++++++++++-----------------
 9 files changed, 107 insertions(+), 98 deletions(-)

-- 
OpenAFS Master Repository