summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/quota_global.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-05-01 03:24:04 +0200
committerTheodore Ts'o <tytso@mit.edu>2009-05-01 03:24:04 +0200
commit7234ab2a55e77784b44cf2d862136d9e41b8d98a (patch)
treecad3f1ee096243529125b3d6a028cc1426773b9c /fs/ocfs2/quota_global.c
parentext4: Simplify ext4_commit_super()'s function signature (diff)
downloadlinux-7234ab2a55e77784b44cf2d862136d9e41b8d98a.tar.xz
linux-7234ab2a55e77784b44cf2d862136d9e41b8d98a.zip
ext4: Fix and simplify s_dirt handling
The s_dirt flag wasn't completely handled correctly, but it didn't really matter when journalling was enabled. It turns out that when ext4 runs without a journal, we don't clear s_dirt in places where we should have, with the result that the high-level write_super() function was writing the superblock when it wasn't necessary. So we fix this by making ext4_commit_super() clear the s_dirt flag, and removing many of the other places where s_dirt is manipulated. When journalling is enabled, the s_dirt flag might be left set more often, but s_dirt really doesn't matter when journalling is enabled. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ocfs2/quota_global.c')
0 files changed, 0 insertions, 0 deletions