]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf83482ce15cf8c81aaf856297440cce9bad276fb
treebf57ab6531a988d5566138b9a4cf916ecfcbbf3f
parent6c8f57d79f346c053b40172b229cf0aedf7b5b1d
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