diff options
author | Mike Snitzer <snitzer@kernel.org> | 2024-02-13 19:55:50 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2024-03-04 23:07:56 +0300 |
commit | 0eea6b6e78daa45ca13e9b186da042f9b6139b50 (patch) | |
tree | 2a7bb2755479a07b24ea8f1ffe09c32e7e97b82a /drivers/md/dm-vdo/priority-table.c | |
parent | 6008d526b06bab2cbea194948aec0cd04461dcc6 (diff) | |
download | linux-0eea6b6e78daa45ca13e9b186da042f9b6139b50.tar.xz |
dm vdo memory-alloc: change from uds_ to vdo_ namespace
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo/priority-table.c')
-rw-r--r-- | drivers/md/dm-vdo/priority-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-vdo/priority-table.c b/drivers/md/dm-vdo/priority-table.c index a59e9d40ca90..fc99268d2437 100644 --- a/drivers/md/dm-vdo/priority-table.c +++ b/drivers/md/dm-vdo/priority-table.c @@ -60,7 +60,7 @@ int vdo_make_priority_table(unsigned int max_priority, struct priority_table **t if (max_priority > MAX_PRIORITY) return UDS_INVALID_ARGUMENT; - result = uds_allocate_extended(struct priority_table, max_priority + 1, + result = vdo_allocate_extended(struct priority_table, max_priority + 1, struct bucket, __func__, &table); if (result != VDO_SUCCESS) return result; @@ -96,7 +96,7 @@ void vdo_free_priority_table(struct priority_table *table) */ vdo_reset_priority_table(table); - uds_free(table); + vdo_free(table); } /** |