mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
As _do_register_device() calls register_device() function that returns 1 success & 0 fail - ret = -ENOMEM for fail case instead of 0.
As _do_register_device() calls register_device() function that returns 1 success & 0 fail - ret = -ENOMEM for fail case instead of 0.