OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-105-g58258ba

Gerrit Code Review gerrit@openafs.org
Sat, 28 Nov 2009 09:07:59 -0800 (PST)


The following commit has been merged in the master branch:
commit 58258ba3b89732ea825e1aff2decab54347ab92e
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Nov 20 14:15:28 2009 -0600

    Add safety checks on all hostList traversals
    
    Currently, h_Enumerate checks that it doesn't enumerate over more than
    hostCount hosts, in case the hostList has a cycle or is otherwise
    corrupt. Add similar checks to all places in the code that loop over
    hostList, to prevent the code from getting in an infinite loop under
    H_LOCK in the case of a hostList cycle.
    
    Also, ShutDownAndCore instead of assert'ing, so we try and detach
    volumes first, possibly reducing salvaging time when we restart after
    core'ing.
    
    Change-Id: Ide1e5aca7c2c4a4af3f62bc07821db694f2f9999
    Reviewed-on: http://gerrit.openafs.org/863
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/viced/host.c |   36 +++++++++++++++++++++++++++++++-----
 1 files changed, 31 insertions(+), 5 deletions(-)

-- 
OpenAFS Master Repository