OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-38-g639c0e4

Gerrit Code Review gerrit@openafs.org
Wed, 23 Jun 2010 09:30:36 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 639c0e467af3d78619e11cf44895809e0b9b8edf
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Jun 18 17:20:22 2010 -0500

    ubik: ntohl on reading the replay log
    
    When attempting to read the replay log, ubik was not ntohl'ing all
    integers that were read in from the log, causing the log to appear
    invalid on little-endian systems. Fix it.
    
    This problem manifests as apparent corruption in the database on top
    of ubik when a commit is occurring when we are shut down, or a disk
    error is encountered during a commit.
    
    Reviewed-on: http://gerrit.openafs.org/2224
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit eec0d94f519b3e27f255b9b7a637df043951424e)
    
    Change-Id: Ic6b3ba18c843d1f41c45fa69559bea869620439a
    Reviewed-on: http://gerrit.openafs.org/2237
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/ubik/recovery.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository