mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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:
parent
2f471f0184
commit
bca0a4df9a
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user