1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-11-11 23:22:05 +03:00

filter: fix mpath test

Fix bug which leaked into commit
dc6dea4033,
where the testing code got mistakenly commited.
This commit is contained in:
Zdenek Kabelac 2019-04-03 13:06:00 +02:00
parent 2f471f0184
commit bca0a4df9a

View File

@ -243,7 +243,7 @@ static int _native_dev_is_mpath(struct dev_filter *f, struct device *dev)
if (look > 0) {
log_debug_devs("%s(%u:%u): already checked as %sbeing mpath.",
parent_name, major, minor, (look > 1) ? "" : "not ");
return (look > 1) ? 0 : 1;
return (look > 1) ? 1 : 0;
}
if (lvm_dm_prefix_check(major, minor, MPATH_PREFIX)) {