Merging upstream version 4.2+20230227.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
58a85b45ad
commit
cd74b52c0d
2 changed files with 10 additions and 1 deletions
|
@ -292,6 +292,10 @@ struct map_ent *map_by_uuid(struct map_ent **map, int uuid[4])
|
|||
struct map_ent *map_by_devnm(struct map_ent **map, char *devnm)
|
||||
{
|
||||
struct map_ent *mp;
|
||||
|
||||
if (!devnm)
|
||||
return NULL;
|
||||
|
||||
if (!*map)
|
||||
map_read(map);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue