]> sourceware.org Git - lvm2.git/commit - libdm/libdm-deptree.c
Off-by-one count was causing not all the mirror table parameters
authorJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 15 Jan 2010 16:00:23 +0000 (16:00 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Fri, 15 Jan 2010 16:00:23 +0000 (16:00 +0000)
commit49b95a5e2131e86b0c204d9d333bc3ed4801befc
tree96f8a02fb543cfe3da8adcd07d7ff7f75f78e0c4
parent80b664f5711e3e30ef83fb7a4c7c480c61a83ded
Off-by-one count was causing not all the mirror table parameters
that were necessary to be passed on to userspace.

The cluster mirror table (log portion only) used to look like this:
        clustered-disk <parm_count> <disk> <region_size> <uuid> \
                        [[no]sync] [block_on_error]
Now it looks like this:
        userspace <parm_count> <uuid> clustered-disk <disk> <region_size> \
                        [[no]sync]

So, there is one extra argument in the latter case - this was
unaccounted for.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
libdm/libdm-deptree.c
This page took 0.030925 seconds and 5 git commands to generate.