]> git.proxmox.com Git - ceph.git/blame - ceph/src/pmdk/src/libpmem2/region_namespace_none.c
import ceph 16.2.7
[ceph.git] / ceph / src / pmdk / src / libpmem2 / region_namespace_none.c
CommitLineData
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 */
10int
11pmem2_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}