The following commit has been merged in the master branch:
commit 15260c7fdc5ac8fe9fb1797c8e383c665e9e0ccd
Author: Marc Dionne <[email protected]>
Date:   Thu Dec 18 08:43:22 2014 -0500

    Linux: d_splice_alias may drop inode reference on error
    
    d_splice_alias now drops the inode reference on error, so we
    need to grab an extra one to make sure that the inode doesn't
    go away, and release it when done if there was no error.
    
    For kernels that may not drop the reference, provide an
    additional iput() within an ifdef.  This could be hooked up
    to a configure option to allow building a module for a kernel
    that is known not to drop the reference on error.  That hook
    is not provided here.  Affected kernels should be the early
    3.17 ones (3.17 - 3.17.2); 3.16 and older kernels should not
    return errors here.
    
    [[email protected] add configure option to control behavior, which
    is mandatory on non-buildbot linux systems]
    
    Change-Id: Id1786ac2227b4d8e0ae801fe59c15a0ecd975bed
    Reviewed-on: http://gerrit.openafs.org/11643
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Michael Laß <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>

 acinclude.m4                 |   26 ++++++++++++++++++++++++++
 src/afs/LINUX/osi_vnodeops.c |   29 ++++++++++++++++++++++++++---
 2 files changed, 52 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to