From: Alasdair Kergon Date: Tue, 20 Sep 2005 16:39:12 +0000 (+0000) Subject: Explicitly initialise no_open_count X-Git-Tag: v1_01_05~4 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=885d970b754783a4383e00bb63f466fcb107e010;p=dm.git Explicitly initialise no_open_count --- diff --git a/lib/libdm-common.c b/lib/libdm-common.c index f08ae66..20f2702 100644 --- a/lib/libdm-common.c +++ b/lib/libdm-common.c @@ -111,6 +111,7 @@ struct dm_task *dm_task_create(int type) dmt->uid = DEVICE_UID; dmt->gid = DEVICE_GID; dmt->mode = DEVICE_MODE; + dmt->no_open_count = 0; return dmt; }