]> Git Repo - linux.git/commit
btrfs: send: remove indirect callback parameter for changed_cb
authorDavid Sterba <[email protected]>
Mon, 17 Aug 2020 10:16:57 +0000 (12:16 +0200)
committerDavid Sterba <[email protected]>
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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/send.c
This page took 0.070809 seconds and 4 git commands to generate.