• Steven Whitehouse's avatar
    GFS2: Clean up of glops.c · 6bac243f
    Steven Whitehouse authored
    This cleans up a number of bits of code mostly based in glops.c.
    A couple of simple functions have been merged into the callers
    to make it more obvious what is going on, the mysterious raising
    of i_writecount around the truncate_inode_pages() call has been
    removed. The meta_go_* operations have been renamed rgrp_go_*
    since that is the only lock type that they are used with.
    
    The unused argument of gfs2_read_sb has been removed. Also
    a bug has been fixed where a check for the rindex inode was
    in the wrong callback. More comments are added, and the
    debugging code is improved too.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    6bac243f
meta_io.c 9.52 KB