btrfs-progs: fixup API after change in subvol_uuid_search
authorDavid Sterba <dsterba@suse.com>
Mon, 12 Dec 2016 16:45:25 +0000 (17:45 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 14 Dec 2016 14:06:36 +0000 (15:06 +0100)
commit87e4233ef0abc1527a2d425bcb5131b7b5f6d295
tree77094bda93b9883cf752c893f144086b6407dd81
parentee518036d2cdf58d562b9448e3c062d5653c0d34
btrfs-progs: fixup API after change in subvol_uuid_search

The return value fix to subvol_uuid_search changes the API semantics, we
must keep it compatible, so we introduce a v2 interface that returns the
negative error value in case of error. Library version bump will follow.

Signed-off-by: David Sterba <dsterba@suse.com>
send-utils.c
send-utils.h