commit | 1ce7a5ec44c8b148c4600e25c696a135319734db | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Sep 29 15:43:55 2017 -0400 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:28:00 2017 +0100 |
tree | 01d1f912bff08b19df61021244803305d5a1c0b6 | |
parent | 194ab0bc21cc99c5b804040aa785e0bdcc214656 [diff] |
btrfs: move ref_mod modification into the if (ref) logic We only use this logic if our ref isn't a ref_head, so move it up into the if (ref) case since we know that this is a normal ref and not a delayed ref head. Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>