]> 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)
commit77381285b2cd05faea7726c40a484f9292ed51f4
treedc41a37466e6bd6502765b860feb658f20a1e7cb
parent263b805623b9fa1f7d4edb0e0ae9ec13df8f0386
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