]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5689b64cc88d6d48bb43fb68bcee6d9936b0b368
tree74a72aa54165441cc421ebcc9c7c9e8032d54719
parenta8a32006f3296f79d8302f89a7cc876353abbc29
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