]>
Commit | Line | Data |
---|---|---|
a4b75251 TL |
1 | // SPDX-License-Identifier: BSD-3-Clause |
2 | /* Copyright 2020, Intel Corporation */ | |
3 | ||
4 | #include "region_namespace.h" | |
5 | #include "out.h" | |
6 | ||
7 | /* | |
8 | * pmem2_get_region_id -- define behavior without ndctl | |
9 | */ | |
10 | int | |
11 | pmem2_get_region_id(const struct pmem2_source *src, unsigned *region_id) | |
12 | { | |
13 | LOG(3, "Cannot read region id - ndctl is not available"); | |
14 | ||
15 | return 0; | |
16 | } |