mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
debug: remove stacktrace on regular path
Here _insert is expected to also fail, so just regular 'return 0'.
This commit is contained in:
parent
0c89c5a40f
commit
6728788bf5
@ -1158,13 +1158,13 @@ static int _insert(const char *path, const struct stat *info,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (rec && !_insert_dir(path))
|
if (rec && !_insert_dir(path))
|
||||||
return_0;
|
return 0;
|
||||||
} else { /* add a device */
|
} else { /* add a device */
|
||||||
if (!S_ISBLK(info->st_mode))
|
if (!S_ISBLK(info->st_mode))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (!_insert_dev(path, info->st_rdev))
|
if (!_insert_dev(path, info->st_rdev))
|
||||||
return_0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user