OpenAFS Master Repository branch, openafs-stable-1_4_12_1, updated. openafs-stable-1_4_12_1-6-g7c90230

Gerrit Code Review gerrit@openafs.org
Wed, 15 Dec 2010 01:44:32 -0800 (PST)


The following commit has been merged in the openafs-stable-1_4_12_1 branch:
commit 7c90230a7b4fa7cd10e6a6a73661b0cbe1d40409
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Wed Aug 11 18:20:59 2010 -0400

    Linux: adapt to truncate sequence changes
    
    As part of changes to the truncate sequence, inode_setattr() no
    longer exists, and all filesystems have to define the setattr op
    so we can assume that it is not NULL.
    
    Introduce a compat inline function afs_inode_setattr that hides
    the tests and the different versions from the main code.
    
    Note that the existing test for the inode_setattr() return type
    will fail, but the value is no longer used in that case.
    
    This is required for 2.6.36
    
    Reviewed-on: http://gerrit.openafs.org/2543
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    
    (cherry-picked from commit eaf3378f537935f6b9843886b43d)
    
    Reviewed-on: http://gerrit.openafs.org/2550
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 58e56d080b8d19117b60f04ecb37af0c6dcafc1a)
    
    Change-Id: I4cfdd191c60d7672c80aa3b3789e52c3e5e87666
    Reviewed-on: http://gerrit.openafs.org/3519
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 acinclude.m4               |    1 +
 src/afs/LINUX/osi_compat.h |   20 ++++++++++++++++++++
 src/afs/LINUX/osi_file.c   |   12 ++----------
 src/cf/linux-test4.m4      |   16 ++++++++++++++++
 4 files changed, 39 insertions(+), 10 deletions(-)

-- 
OpenAFS Master Repository