OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1876-g1a056d2

Gerrit Code Review gerrit@openafs.org
Sat, 12 Nov 2011 06:47:26 -0800 (PST)


The following commit has been merged in the master branch:
commit 1a056d24a79242db09963dd0b0c2193c5034b61b
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Sat Oct 22 09:45:10 2011 +0100

    opr: Add opr_containerof
    
    Add the opr_containerof macro, which can be used to find the base
    address of a structure which contains a member whose location is known.
    
    This formulation is heavily used throughout OpenAFS to determine the
    base address of structures containing queue pointers - this provides
    a central definition, rather than coding it from scratch each time.
    
    Change-Id: I2a32a214252ad304238f740ad92579e5bb7287be
    Reviewed-on: http://gerrit.openafs.org/5836
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/opr/opr.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository