OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_75-170-geaf3378

Gerrit Code Review gerrit@openafs.org
Thu, 12 Aug 2010 13:44:13 -0700 (PDT)


The following commit has been merged in the master branch:
commit eaf3378f537935f6b9843886b43d8b6d38a91a92
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
    
    Change-Id: I2f5e8a0b660b48453d0152b6c4db64e57539f91a
    Reviewed-on: http://gerrit.openafs.org/2543
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 acinclude.m4               |    3 +++
 src/afs/LINUX/osi_compat.h |   18 ++++++++++++++++++
 src/afs/LINUX/osi_file.c   |   12 ++----------
 3 files changed, 23 insertions(+), 10 deletions(-)

-- 
OpenAFS Master Repository