mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Explicitly initialise no_open_count
This commit is contained in:
parent
4e16b1e7ad
commit
d54d93ab2e
@ -111,6 +111,7 @@ struct dm_task *dm_task_create(int type)
|
|||||||
dmt->uid = DEVICE_UID;
|
dmt->uid = DEVICE_UID;
|
||||||
dmt->gid = DEVICE_GID;
|
dmt->gid = DEVICE_GID;
|
||||||
dmt->mode = DEVICE_MODE;
|
dmt->mode = DEVICE_MODE;
|
||||||
|
dmt->no_open_count = 0;
|
||||||
|
|
||||||
return dmt;
|
return dmt;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user