OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre2-30-g5aebd8d

Gerrit Code Review gerrit@openafs.org
Sun, 20 Feb 2011 12:17:23 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 5aebd8d5416f242a84676cac3874fbc71c3cef44
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Feb 18 15:49:03 2011 -0600

    LINUX: Replace dcache.h for fs.h in config tests
    
    When detecting if we have certain Linux kernel features, we only
    include dcache.h. On some kernel versions (at least 2.4.27),
    compilation fails if we include dcache.h directly (due to e.g.
    list_head not being defined), which causes false negatives in tests
    such as the test for dcache_lock. If we instead include fs.h, which
    includes dcache.h, the tests succeed when they should succeed. So, use
    fs.h instead of dcache.h.
    
    Reviewed-on: http://gerrit.openafs.org/3989
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
    Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
    Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 839b62ab414fde02e1a2093bc036c63c708d861d)
    
    Change-Id: Ia8ea701c81bad9dc293ecb2848bd971052743c81
    Reviewed-on: http://gerrit.openafs.org/4025
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 acinclude.m4          |    2 +-
 src/cf/linux-test4.m4 |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository