scsi/qemu-pr-helper: Drop support for 'old' libmultipath API
Commit1b0578f5c4("qemu-pr-helper: Fix build on CentOS 7") added code to probe for 'old' libmultipath API on CentOS 7. However since merge commit8c345b3e6a(June 2021) we don't build/test CentOS 7 as it felt out of our list of supported distrib versions. Therefore we can safely remove the 'old' API check (mostly reverting commit1b0578f5c4, except the code got converted to meson in commit6ec0e15d95"meson: move libmpathpersist test"). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230605174146.87440-2-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6da5f22b65
commit
6b40847ab4
2 changed files with 2 additions and 21 deletions
|
|
@ -280,11 +280,7 @@ void put_multipath_config(struct config *conf)
|
|||
static void multipath_pr_init(void)
|
||||
{
|
||||
udev = udev_new();
|
||||
#ifdef CONFIG_MPATH_NEW_API
|
||||
multipath_conf = mpath_lib_init();
|
||||
#else
|
||||
mpath_lib_init(udev);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int is_mpath(int fd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue