commit | 6b124d8dba1f46c5f2caf3b3159bbe627f75b9b6 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Nov 08 12:51:06 2006 -0500 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Thu Nov 30 10:34:45 2006 -0500 |
tree | 42f03f02a7fe7ccfc9c676ddcdbdcdcb28defef6 | |
parent | 2ca99501fa5422e84f18333918a503433449e2b5 [diff] |
[GFS2] Only set inode flags when required 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: Steven Whitehouse <swhiteho@redhat.com>