The following commit has been merged in the openafs-stable-1_6_x branch:
commit c9cd05263b478d116e9c240953827e34fe2559b4
Author: Jeffrey Hutzelman <[email protected]>
Date:   Wed Jun 12 16:22:36 2013 -0400

    libafs/LINUX: avoid leaks due to corrupt dir
    
    When a corrupt directory is discovered, scanning stops immediately and
    readdir returns ENOENT.  Currently, the vcache lock is unlocked and the
    dcache containing the directory is released, but that's not enough.
    It's also necessary to unlock the dcache, on which we hold a read lock,
    and to clear the vcache state which records an in-progress readdir.
    
    Reviewed-on: http://gerrit.openafs.org/9971
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    (cherry picked from commit a2bfa0e853fb4954fd06a00ea6fbc55c39e76b8a)
    
    Change-Id: Id648822cd45087e5c0d320e8cfdcd6659bb33559
    Reviewed-on: http://gerrit.openafs.org/11707
    Reviewed-by: Perry Ruiter <[email protected]>
    Reviewed-by: Daria Brashear <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/afs/LINUX/osi_vnodeops.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

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

Reply via email to