Btrfs: put all block modifications into the tree mod log
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Sat, 26 May 2012 09:43:17 +0000 (11:43 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 30 May 2012 13:17:29 +0000 (15:17 +0200)
commitf230475e62f77930e776881deb6e95cfd2226bd4
treebf57ab6531a988d5566138b9a4cf916ecfcbbf3f
parentbd989ba359f2acb8bc5f5490e19010fc0a6f8356
Btrfs: put all block modifications into the tree mod log

When running functions that can make changes to the internal trees
(e.g. btrfs_search_slot), we check if somebody may be interested in the
block we're currently modifying. If so, we record our modification to be
able to rewind it later on.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c