The following commit has been merged in the openafs-stable-1_8_x branch:
commit 9b04eac509990b8eb0414de5f604ac3456a5bce5
Author: Michael Meffie <[email protected]>
Date:   Fri Jul 6 15:22:36 2018 -0400

    vldb_check: write mh entry header flags in network order
    
    Commit 6b93ad695e53a86dbe9eea13bd0ff651e1d8c9b7 fixed a false error
    reported when the vldb contained more than one mh extent blocks.  That
    fix changed the readMH() function to convert the flags field to host
    byte order of all the mh blocks, not just the first block, in order to
    check the value of those flags.
    
    Unfortunately, that commit missed converting non-zero blocks back to
    network byte order in the complementary writeMH() function, which is
    used to write the data back to disk when vldb_check is run with the -fix
    option.
    
    FIXES 134589
    
    Reviewed-on: https://gerrit.openafs.org/13245
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 483cad0121d848836b4155817b86231ef21be27a)
    
    Change-Id: I28afa243c78d0a8a53e13f302d69c17a779837d9
    Reviewed-on: https://gerrit.openafs.org/13246
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 src/vlserver/vldb_check.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

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

Reply via email to