btrfs-progs: move lookup_path_rootid to library utils
authorDavid Sterba <dsterba@suse.com>
Wed, 23 Nov 2016 09:36:43 +0000 (10:36 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 24 Nov 2016 12:06:36 +0000 (13:06 +0100)
commite5362f5feb6b526ff3145bb0d7ce164e4d501edd
treedb54866a0750264746d417e6146d462ef8b9c3ce
parentf8278f94ffffcbea1a6be79936aa51640c7cebc5
btrfs-progs: move lookup_path_rootid to library utils

The refactoring in commit 1c85c3de5aab997ff66ea95cb0f2c9f79726ec40 has
broken use of libbtrfs that does not exhibit during build but at the run
time.

Fixes: 1c85c3de5aab997ff66ea95cb0f2c9f79726ec40
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=600078
Reported-by: Mike Gilbert <floppymaster@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
utils-lib.c
utils.c