btrfs: kill tree_mod_log_set_root_pointer helper
authorDavid Sterba <dsterba@suse.com>
Mon, 5 Mar 2018 15:35:29 +0000 (16:35 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:55 +0000 (01:26 +0200)
commitd9d19a010b8b186668ce1182bcf92ab53d11c084
treee7024eb6d3fc015170babd8846d2a927ffcb5340
parent0e82bcfe3c5e557ff9262eac59526e5208b84c60
btrfs: kill tree_mod_log_set_root_pointer helper

A useless wrapper around tree_mod_log_insert_root that hides missing
error handling. Move it to the callers.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c