]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: run delayed directory updates during log replay
authorChris Mason <chris.mason@fusionio.com>
Mon, 2 Jul 2012 19:29:53 +0000 (15:29 -0400)
committerChris Mason <chris.mason@fusionio.com>
Mon, 2 Jul 2012 19:39:19 +0000 (15:39 -0400)
commite9183195270e7ec89a0f156611adf2e9d6d13113
treedc41a37466e6bd6502765b860feb658f20a1e7cb
parentafaf46b95a06927b5632a3ff55bd27cd193fe493
Btrfs: run delayed directory updates during log replay

While we are resolving directory modifications in the
tree log, we are triggering delayed metadata updates to
the filesystem btrees.

This commit forces the delayed updates to run so the
replay code can find any modifications done.  It stops
us from crashing because the directory deleltion replay
expects items to be removed immediately from the tree.

Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cc: stable@kernel.org
fs/btrfs/tree-log.c