OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_18-3-g1e15be6

Gerrit Code Review gerrit@openafs.org
Tue, 21 Jun 2016 09:45:15 -0400


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 1e15be6674485d1011ee80970f8445e046b7ca78
Author: Benjamin Kaduk <kaduk@mit.edu>
Date:   Sun May 1 19:48:40 2016 -0400

    Linux 4.5: don't access i_mutex directly
    
    Linux commit 5955102c, in preparation for future work, introduced
    wrapper functions to lock/unlock inode mutexes.  This is to
    prepare for converting it to a read-write semaphore, so that
    lookup can be done with only the shared lock held.
    
    Adopt the afs_linux_*lock_inode() functions accordingly, and
    convert afs_linux_fsync() to using those wrappers, since the
    FOP_FSYNC_TAKES_RANGE case appears to be the current case.
    
    Amusingly, afs_linux_*lock_inode() already have a branch to
    handle the case when inode serialization is protected by a
    semaphore; it seems that this is going to come full-circle.
    
    Reviewed-on: https://gerrit.openafs.org/12268
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Joe Gorse <jhgorse@gmail.com>
    Tested-by: Joe Gorse <jhgorse@gmail.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    (cherry picked from commit 360f4ef53c454494cd5212a5ea46c658bdb2879c)
    
    Change-Id: I52f29cdb6f0bf85bcbb6624ed62e071b1f3807c9
    Reviewed-on: https://gerrit.openafs.org/12302
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
    Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>

 acinclude.m4                 |    3 +++
 src/afs/LINUX/osi_compat.h   |    8 ++++++--
 src/afs/LINUX/osi_vnodeops.c |    4 ++--
 3 files changed, 11 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository