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)
commitb6305567e7d31b0bec1b8cb9ec0cadd7f7086f5f
treedc41a37466e6bd6502765b860feb658f20a1e7cb
parent7fd1a3f73f3743b4ffd520effe288a70b0ec47c9
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