1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +03:00

Don't store things in _devs[-1] - it's not nice.

This commit is contained in:
Patrick Caulfield 2001-09-14 10:54:08 +00:00
parent f184886db1
commit 543ca631e9

View File

@ -578,7 +578,6 @@ int dm_create(const char *name, int minor)
}
strcpy(md->name, name);
_devs[minor] = md;
if ((r = register_device(md))) {
up_write(&_dev_lock);