mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Use return_0 in a couple more places.
Correct a function name typo in _line_append error message.
This commit is contained in:
parent
66db5dd894
commit
bcacf9d0e3
@ -1,5 +1,7 @@
|
|||||||
Version 2.02.34 -
|
Version 2.02.34 -
|
||||||
===================================
|
===================================
|
||||||
|
Use return_0 in a couple more places.
|
||||||
|
Correct a function name typo in _line_append error message.
|
||||||
Include limits.h in clvmd so it compiles with newer headers.
|
Include limits.h in clvmd so it compiles with newer headers.
|
||||||
Add VirtIO disks (vd) to filters.
|
Add VirtIO disks (vd) to filters.
|
||||||
Fix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV. (2.02.30)
|
Fix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV. (2.02.30)
|
||||||
|
@ -372,7 +372,7 @@ static int _line_append(struct output_line *outline, const char *fmt, ...)
|
|||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
if (!dm_pool_grow_object(outline->mem, &buf[0], strlen(buf))) {
|
if (!dm_pool_grow_object(outline->mem, &buf[0], strlen(buf))) {
|
||||||
log_error("dm_pool_grew_object failed for config line");
|
log_error("dm_pool_grow_object failed for config line");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
#ifndef _LVM_TEXT_EXPORT_H
|
#ifndef _LVM_TEXT_EXPORT_H
|
||||||
#define _LVM_TEXT_EXPORT_H
|
#define _LVM_TEXT_EXPORT_H
|
||||||
|
|
||||||
#define outf(args...) do {if (!out_text(args)) {stack; return 0;}} while (0)
|
#define outf(args...) do {if (!out_text(args)) return_0;} while (0)
|
||||||
#define outnl(f) do {if (!f->nl(f)) {stack; return 0;}} while (0)
|
#define outnl(f) do {if (!f->nl(f)) return_0;} while (0)
|
||||||
|
|
||||||
struct formatter;
|
struct formatter;
|
||||||
struct lv_segment;
|
struct lv_segment;
|
||||||
|
Loading…
Reference in New Issue
Block a user