diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-08 18:51:06 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 16:34:45 +0100 |
commit | 6b124d8dba1f46c5f2caf3b3159bbe627f75b9b6 (patch) | |
tree | 42f03f02a7fe7ccfc9c676ddcdbdcdcb28defef6 /fs/gfs2/ops_super.h | |
parent | [GFS2] Fix page lock/glock deadlock (diff) | |
download | linux-6b124d8dba1f46c5f2caf3b3159bbe627f75b9b6.tar.xz linux-6b124d8dba1f46c5f2caf3b3159bbe627f75b9b6.zip |
[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>
Diffstat (limited to 'fs/gfs2/ops_super.h')
0 files changed, 0 insertions, 0 deletions