OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. dd55ac8ad042a1ddabdaf7ac0d4f6d7489402cb4

Gerrit Code Review
Thu, 17 Dec 2009 09:52:26 -0800 (PST)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit dd55ac8ad042a1ddabdaf7ac0d4f6d7489402cb4
Author: Andrew Deason <>
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
    (cherry picked from 58258ba3b89732ea825e1aff2decab54347ab92e)
    Change-Id: Ide1e5aca7c2c4a4af3f62bc07821db694f2f9999
    Tested-by: Andrew Deason <>
    Reviewed-by: Alistair Ferguson <>
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    Reviewed-by: Andrew Deason <>

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

OpenAFS Master Repository