]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Re-journal buffers after transaction extend
authorMark Fasheh <mark.fasheh@oracle.com>
Tue, 4 Dec 2007 00:43:01 +0000 (16:43 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 17 Dec 2007 18:51:23 +0000 (10:51 -0800)
commite167e89ae7b5d5a696535db17191ccc1d32ec5e5
treeaa83824230c1b0c58fe9ec68d007c35f42b90fa7
parent2d3312dbe24795746e7ca99f92c09c02b7834cb7
ocfs2: Re-journal buffers after transaction extend

ocfs2_extend_trans() might call journal_restart() which will commit dirty
buffers and then restart the transaction. This means that any buffers which
still need changes should be passed to journal_access() again. Some paths
during extend weren't doing this right.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/journal.c