The following commit has been merged in the openafs-devel-1_7_x branch:
commit 0123b0283d6c9b74eb81eecd4f23f4997764992a
Author: Jeffrey Altman <[email protected]>
Date:   Thu Sep 4 01:11:01 2014 -0400

    Windows: Prevent MDL leak on Cc*Mdl* failure
    
    If CcMdlRead or CcPrepareMdlWrite fail, check the IoStatus.Information
    field to see if any MDL pages have been locked.  If the Information
    value is greater than zero, complete the Mdl operation to unlock the
    pages.
    
    Reviewed-on: http://gerrit.openafs.org/11442
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Peter Scott <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit 092684e2bd31424c958ca3a9e88b7987b4c5555c)
    
    Change-Id: Ib48838e04a9601966c59923deabfc5bf5b77a152
    Reviewed-on: http://gerrit.openafs.org/11493
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>

 src/WINNT/afsrdr/kernel/lib/AFSRead.cpp  |   17 +++++++++++++++--
 src/WINNT/afsrdr/kernel/lib/AFSWrite.cpp |   24 ++++++++++++++----------
 2 files changed, 29 insertions(+), 12 deletions(-)

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

Reply via email to