aboutsummaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-08 12:51:06 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:45 -0500
commit6b124d8dba1f46c5f2caf3b3159bbe627f75b9b6 (patch)
tree42f03f02a7fe7ccfc9c676ddcdbdcdcb28defef6 /kernel/compat.c
parent2ca99501fa5422e84f18333918a503433449e2b5 (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>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions