1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

o Check in case of setting up volumes before root is mounted.

This commit is contained in:
Steven Whitehouse 2001-09-24 15:18:45 +00:00
parent c5ecb802fc
commit 5d910431cf

View File

@ -603,6 +603,9 @@ static void dm_sbin_hotplug(struct mapped_device *md, int create)
if (!hotplug_path[0]) if (!hotplug_path[0])
return; return;
if (!current->fs->root)
return;
sprintf(name, "DMNAME=%s\n", md->name); sprintf(name, "DMNAME=%s\n", md->name);
i = 0; i = 0;