]> sourceware.org Git - lvm2.git/commit - libdm/libdm-deptree.c
'_emit_areas_line' returns 1 for success and 0 for failure. This always
authorJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 22 Sep 2009 16:26:59 +0000 (16:26 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 22 Sep 2009 16:26:59 +0000 (16:26 +0000)
commit3c74075fb13ed8adb06ced45a707be3f24ea958f
treeb814461383824f9a4a699073f82cc9dfaa13499d
parent3545e55a01c563a9513d03e512a530065fa8fc24
'_emit_areas_line' returns 1 for success and 0 for failure.  This always
confuses me, so I've added a comment at the top of the function to
remind me of this.

I also found that 'mirror_emit_segment_line' was returning 0 (return_0)
on failure /and/ success.  It now returns 1 for success and 0 for failure -
just like '_emit_areas_line' and its calling function, '_emit_segment_line'.
libdm/libdm-deptree.c
This page took 0.029913 seconds and 5 git commands to generate.