New error codes

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Michal Mielewczyk
2023-10-11 08:02:56 +02:00
committed by Rafal Stefanowski
parent 853e8f9357
commit e0ef8c1b8d
2 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright(c) 2012-2022 Intel Corporation
* Copyright(c) 2024 Huawei Technologies
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -545,6 +546,11 @@ enum kcas_error {
/** Device contains partitions */
KCAS_ERR_CONTAINS_PART,
/** The new device's properties doesn't match the original cache's
* properties
*/
KCAS_ERR_DEVICE_PROPERTIES_MISMATCH,
/** Given device is a partition */
KCAS_ERR_A_PART,