a6d56a0 Make struct_out functions operate on bh's

28 files Authored by Bob Peterson 14 years ago, Committed by rpeterso 14 years ago,
    Make struct_out functions operate on bh's
    
    This patch changes most the gfs2_struct_in and gfs2_struct_out functions
    so that they take a bh parameter rather than a buffer.  It ensures that
    whenever a structure is pushed to a buffer, the buffer is marked as
    modified so that it later gets written to disk.  This is one step in
    getting rid of the buffer lists and helps ensure data integrity.  This
    takes most of the guess-work out of the buffer writing: No more "rewrite
    the buffer because it may or may not have been changed."
    
    Some structures, such as rindex entries and dentry pointers, can't
    operate on a bh, mostly because they use the readi/writei functions to
    write the data out, but this covers the majority of gfs2 structures.
    
    rhbz#455300
    
        
file modified
+8 -10
file modified
+77 -39
file modified
+1 -1
file modified
+109 -106
file modified
+63 -58
file modified
+27 -25
file modified
+1 -2
file modified
+12 -7
file modified
+13 -12
file modified
+2 -2
file modified
+1 -1
file modified
+1 -1
file modified
+2 -3
file modified
+1 -1
file modified
+2 -3
file modified
+20 -21
file modified
+11 -7
file modified
+66 -13
file modified
+72 -70
file modified
+1 -1
file modified
+1 -1
file modified
+3 -6
file modified
+2 -3
file modified
+1 -1
file modified
+0 -1
file modified
+6 -2
file modified
+15 -4
file modified
+4 -2