mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o Check in case of setting up volumes before root is mounted.
This commit is contained in:
parent
c5ecb802fc
commit
5d910431cf
@ -603,6 +603,9 @@ static void dm_sbin_hotplug(struct mapped_device *md, int create)
|
||||
if (!hotplug_path[0])
|
||||
return;
|
||||
|
||||
if (!current->fs->root)
|
||||
return;
|
||||
|
||||
sprintf(name, "DMNAME=%s\n", md->name);
|
||||
|
||||
i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user