OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3811-g4834438

Gerrit Code Review gerrit@openafs.org
Thu, 20 Jun 2013 05:21:17 -0700 (PDT)


The following commit has been merged in the master branch:
commit 48344381d7a87a3617ec14ffc9f2d9735805ada6
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu May 30 17:40:58 2013 -0500

    ihandle: Fix fdInUseCount leak on EMFILE
    
    Here, we close closeFd, but currently we don't decrement fdInUseCount.
    Since we retry the open immediately afterwards, this means we can leak
    fdInUseCount references. For example, if we retry this 5 times and get
    EMFILE on each attempt, we will close 5 FDs, but not decrement
    fdInUseCount at all.
    
    To fix this, decrement fdInUseCounter when we close a file for EMFILE.
    
    Change-Id: I347e37a8d670a6dde7e1d24eeb893c145d9e34e5
    Reviewed-on: http://gerrit.openafs.org/9967
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

 src/vol/ihandle.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository