OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-171-g47a5e7b

Gerrit Code Review gerrit@openafs.org
Sat, 12 Nov 2011 16:40:35 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 2f9f574294535b6c46ceb969274f93fb822682cd
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.
    
    Reviewed-on: http://gerrit.openafs.org/5836
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry picked from commit 1a056d24a79242db09963dd0b0c2193c5034b61b)
    
    Change-Id: I3e3a7d0b83603edf6d62520cb2245cf0944f930b
    Reviewed-on: http://gerrit.openafs.org/6005
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

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

-- 
OpenAFS Master Repository