]> err.no Git - linux-2.6/commit
ext4: fix synchronization of quota files in journal=data mode
authorJan Kara <jack@suse.cz>
Tue, 13 May 2008 23:11:51 +0000 (19:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 May 2008 23:11:51 +0000 (19:11 -0400)
commit0623543b3335c8e439cacf21af99bbf45da42c5a
tree41f6df8f1c11594df2834e3f54a68d08df25ef63
parentcd59e7b9781a35716b8a3e8c4aa2d48081d7daf7
ext4: fix synchronization of quota files in journal=data mode

In journal=data mode, it is not enough to do write_inode_now as done in
vfs_quota_on() to write all data to their final location (which is
needed for quota_read to work correctly).  Calling journal_flush() does
its job.

Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c