ocfs2: Mark buffer uptodate before calling ocfs2_journal_access_dq()
authorJan Kara <jack@suse.cz>
Wed, 22 Jul 2009 11:17:16 +0000 (13:17 +0200)
committerJoel Becker <joel.becker@oracle.com>
Thu, 23 Jul 2009 17:59:05 +0000 (10:59 -0700)
commit4b3fa1904c0d192461ebba692e4940a334b74353
treef95a515b92fed5072b82b4848f469214d8a9d90f
parentb57ac2c43e66cb4aa76c9d2d0e9e0e04f19cc5a6
ocfs2: Mark buffer uptodate before calling ocfs2_journal_access_dq()

In a code path extending local quota files we marked new header
buffer uptodate only after calling ocfs2_journal_access_dq() which
triggers a bug. Fix it and also call ocfs2 variant of the function
marking buffer uptodate.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/quota_local.c