From: Jan Kara Date: Fri, 25 Jul 2008 08:46:36 +0000 (-0700) Subject: reiserfs: fix synchronization of quota files in journal=data mode X-Git-Tag: v2.6.27-rc1~419 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d4f7fddf8882b214e4aabb3bdb37f90a72b2537;p=pandora-kernel.git reiserfs: 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_end_sync() before calling vfs_quota_on() does it's job because transactions are committed to the journal and data marked as dirty in memory so write_inode_now() writes them to their final locations. Cc: Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed