OSDN Git Service

btrfs: kill trivial wrapper tree_mod_log_eb_move
authorDavid Sterba <dsterba@suse.com>
Mon, 5 Mar 2018 14:47:39 +0000 (15:47 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:55 +0000 (01:26 +0200)
commitbf1d342510bdba21b5f0c68057cd9fe6f68d0dc1
tree1b2f7312bdd1150c46ddc650c1dc70664ffbd7a2
parentb1a09f1ec540408abf3a50d15dff5d9506932693
btrfs: kill trivial wrapper tree_mod_log_eb_move

The wrapper is effectively an alias for tree_mod_log_insert_move but
also hides the missing error handling. To make that more visible, lift
the BUG_ON to the callers.

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