]> sourceware.org Git - dm.git/commitdiff
Explicitly initialise no_open_count
authorAlasdair Kergon <agk@redhat.com>
Tue, 20 Sep 2005 16:39:12 +0000 (16:39 +0000)
committerAlasdair Kergon <agk@redhat.com>
Tue, 20 Sep 2005 16:39:12 +0000 (16:39 +0000)
lib/libdm-common.c

index f08ae663067dfc7b4ac540d10afc03f2bebcbaf3..20f2702aab3c3644e7aeef0c8d30e334ba94b33d 100644 (file)
@@ -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;
 }
This page took 0.026003 seconds and 5 git commands to generate.