btrfs: kill tree_mod_log_set_node_key helper
authorDavid Sterba <dsterba@suse.com>
Mon, 5 Mar 2018 15:16:54 +0000 (16:16 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:55 +0000 (01:26 +0200)
commit0e82bcfe3c5e557ff9262eac59526e5208b84c60
treeda772a39212c5d02be12c66785fa28afcdecb57d
parentbf1d342510bdba21b5f0c68057cd9fe6f68d0dc1
btrfs: kill tree_mod_log_set_node_key helper

A trivial wrapper that can be simply opencoded and makes the GFP
allocation request more visible. The error handling is now moved to the
callers.

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