]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: relocation: Add basic extent backref related comments for build_backref_tree
authorQu Wenruo <wqu@suse.com>
Tue, 25 Sep 2018 06:37:46 +0000 (14:37 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:35 +0000 (17:23 +0200)
commit5ed92a3389de059ee7aeac0983b4874730eb2493
treeb492ce45628cdf6e4049957e314c86d4b802e206
parentf324cdd8c579f4da3d9c75f1d67a853c29fed664
btrfs: relocation: Add basic extent backref related comments for build_backref_tree

fs/btrfs/relocation.c:build_backref_tree() is some code from 2009 era,
although it works pretty fine, it's not that easy to understand.
Especially combined with the complex btrfs backref format.

This patch adds some basic comment for the backref build part of the
code, making it less hard to read, at least for backref searching part.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c