1
0
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:
Alasdair Kergon 2005-09-20 16:39:12 +00:00
parent 4e16b1e7ad
commit d54d93ab2e

View File

@ -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;
} }