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)
commit001895b313e65c601c746e4b87e6120e39c3ba13
tree47ad4fd764511eb933fbaccdb0d7aa65a98690af
parent054570a1dc94de20e7a612cddcc5a97db9c37b6f
Btrfs: remove unused code when creating and merging reloc trees

In commit 5bc7247ac47c (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
ba8b0289333a (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