diff options
| author | Mike Snitzer <snitzer@kernel.org> | 2024-02-13 14:57:33 -0600 |
|---|---|---|
| committer | Mike Snitzer <snitzer@kernel.org> | 2024-03-04 15:07:56 -0500 |
| commit | 6a79248b425dcddc749ecbe0a2e1017afb5fdcd2 (patch) | |
| tree | c577a7a0409cd24daeebeeb8b390a9a1b9b7a107 /drivers/md/dm-vdo/priority-table.c | |
| parent | a958c53af7a5b9297ec0dcaf3689172c34485e35 (diff) | |
| download | linux-next-6a79248b425dcddc749ecbe0a2e1017afb5fdcd2.tar.gz linux-next-6a79248b425dcddc749ecbe0a2e1017afb5fdcd2.zip | |
dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS
Also rename ASSERT to VDO_ASSERT and ASSERT_LOG_ONLY to
VDO_ASSERT_LOG_ONLY.
But re-introduce ASSERT and ASSERT_LOG_ONLY as a placeholder
for the benefit of dm-vdo/indexer.
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 fc99268d2437..42d3d8d0e4b5 100644 --- a/drivers/md/dm-vdo/priority-table.c +++ b/drivers/md/dm-vdo/priority-table.c @@ -127,8 +127,8 @@ void vdo_reset_priority_table(struct priority_table *table) void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority, struct list_head *entry) { - ASSERT_LOG_ONLY((priority <= table->max_priority), - "entry priority must be valid for the table"); + VDO_ASSERT_LOG_ONLY((priority <= table->max_priority), + "entry priority must be valid for the table"); /* Append the entry to the queue in the specified bucket. */ list_move_tail(entry, &table->buckets[priority].queue); |
