btrfs: send: remove indirect callback parameter for changed_cb
authorDavid Sterba <dsterba@suse.com>
Mon, 17 Aug 2020 10:16:57 +0000 (12:16 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:55 +0000 (12:06 +0200)
commit1b51d6fce45ec1f2279f06f57fe1c8a703437b27
tree74a72aa54165441cc421ebcc9c7c9e8032d54719
parent8bb1cf1ba639d271983be29db68d30e2eebabb98
btrfs: send: remove indirect callback parameter for changed_cb

There's a custom callback passed to btrfs_compare_trees which happens to
be named exactly same as the existing function implementing it. This is
confusing and the indirection is not necessary for our needs. Compiler
is clever enough to call it directly so there's effectively no change.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c