1
0
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:
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])
return;
if (!current->fs->root)
return;
sprintf(name, "DMNAME=%s\n", md->name);
i = 0;