mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-22 06:50:52 +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
e8df503885
commit
03bddd7d41
@ -1193,13 +1193,13 @@ static int _insert(const char *path, const struct stat *info,
|
||||
}
|
||||
|
||||
if (rec && !_insert_dir(path))
|
||||
return_0;
|
||||
return 0;
|
||||
} else { /* add a device */
|
||||
if (!S_ISBLK(info->st_mode))
|
||||
return 1;
|
||||
|
||||
if (!_insert_dev(path, info->st_rdev))
|
||||
return_0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user