]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove unused code when creating and merging reloc trees
authorFilipe Manana <fdmanana@suse.com>
Wed, 2 Nov 2016 10:38:07 +0000 (10:38 +0000)
committerFilipe Manana <fdmanana@suse.com>
Sat, 19 Nov 2016 13:39:18 +0000 (13:39 +0000)
commit0f829c616bd025a45fbb9d23f3f78698fdb8d174
tree47ad4fd764511eb933fbaccdb0d7aa65a98690af
parent5ad1f48257034e5abca95a3403efb6206e218738
Btrfs: remove unused code when creating and merging reloc trees

In commit 954c40676c22 (Btrfs: fix broken nocow after balance) we started
abusing the rtransid and otransid fields of root items from relocation
trees to fix some issues with nodatacow mode. However later in commit
cf241f08cd35 (Btrfs: do not reset last_snapshot after relocation) we
dropped the code that made use of those fields but did not remove
the code that sets those fields.

So just remove them to avoid confusion.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/relocation.c