ext4: Always journal quota file modifications
authorJan Kara <jack@suse.cz>
Tue, 27 Jul 2010 15:56:07 +0000 (11:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jul 2010 15:56:07 +0000 (11:56 -0400)
commit62d2b5f2dcd3707b070efb16bbfdf6947c38c194
tree4e721db0ab4893f6d619d20d10c1a635da079700
parentdcc7dae3cb21184a317f10a12250bd8d6f458077
ext4: Always journal quota file modifications

When journaled quota options are not specified, we do writes
to quota files just in data=ordered mode. This actually causes
warnings from JBD2 about dirty journaled buffer because ext4_getblk
unconditionally treats a block allocated by it as metadata. Since
quota actually is filesystem metadata, the easiest way to get rid
of the warning is to always treat quota writes as metadata...

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c