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:
parent
f184886db1
commit
543ca631e9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user