Skip to content

Commit b30f767

Browse files
committed
Define internal_bmp_incref() and internal_blob_incref() aliases
These aliases are declared but never defined. They will be used to fix attribute data reference counting. Signed-off-by: Petr Tesarik <[email protected]>
1 parent 8efcebf commit b30f767

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/kdumpfile/bitmap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ kdump_bmp_new(const struct kdump_bmp_ops *ops)
105105
return bmp;
106106
}
107107

108+
DEFINE_ALIAS(bmp_incref);
109+
108110
unsigned long
109111
kdump_bmp_incref(kdump_bmp_t *bmp)
110112
{

src/kdumpfile/blob.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ kdump_blob_new_dup(const void *data, size_t size)
7373
return ret;
7474
}
7575

76+
DEFINE_ALIAS(blob_incref);
77+
7678
unsigned long
7779
kdump_blob_incref(kdump_blob_t *blob)
7880
{

0 commit comments

Comments
 (0)