]> sourceware.org Git - dm.git/commitdiff
Don't expect the COW volume to be any particular size.
authorPatrick Caulfield <pcaulfie@redhat.com>
Mon, 4 Feb 2002 09:15:14 +0000 (09:15 +0000)
committerPatrick Caulfield <pcaulfie@redhat.com>
Mon, 4 Feb 2002 09:15:14 +0000 (09:15 +0000)
kernel/common/dm-snapshot.c

index e7ca950bc6a037c05621263cadb8d690aa00471c..bb6ea77468c9031922ee4a1b54d9599d675a78bc 100644 (file)
@@ -762,7 +762,7 @@ static int snapshot_ctr(struct dm_table *t, offset_t b, offset_t l,
                goto bad_free;
 
        *context = "Cannot get COW device";
-       r = dm_table_get_device(t, cow_path, 0, l, &lc->cow_dev);
+       r = dm_table_get_device(t, cow_path, 0, 0, &lc->cow_dev);
        if (r) {
                dm_table_put_device(t, lc->origin_dev);
                goto bad_free;
This page took 0.025659 seconds and 5 git commands to generate.