]> err.no Git - linux-2.6/commit
ext3: fix synchronization of quota files in journal=data mode
authorJan Kara <jack@suse.cz>
Fri, 25 Jul 2008 08:46:16 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:31 +0000 (10:53 -0700)
commit9cfe7b9010aa66da5f3b2bc33d9e30a4d53bd274
tree7cbafe89d4101f3bb0ca2132154e414dec4aecf7
parent50c33a84db4aa5082e3af8d873b22344ae2ebea8
ext3: 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.

Reported-by: Nick <gentuu@gmail.com>
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: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/super.c