• Steven Whitehouse's avatar
    [GFS2] Only set inode flags when required · 6b124d8d
    Steven Whitehouse authored
    We were setting the inode flags from GFS2's flags far too often, even when they
    couldn't possibly have changed. This patch reduces the amount of flag
    setting going on so that we do it only when the inode is read in or
    when the flags have changed. The create case is covered by the "when
    the inode is read in" case.
    
    This also fixes a bug where we didn't set S_SYNC correctly.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    6b124d8d
inode.c 30.7 KB