brintos

brintos / linux-shallow public Read only

0
0
Text · 647 B · 6f8665d Raw
27 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2/*3 * Copyright (C) 2011 Red Hat, Inc.4 *5 * This file is released under the GPL.6 */7 8#ifndef _LINUX_DM_SPACE_MAP_DISK_H9#define _LINUX_DM_SPACE_MAP_DISK_H10 11#include "dm-block-manager.h"12 13struct dm_space_map;14struct dm_transaction_manager;15 16/*17 * Unfortunately we have to use two-phase construction due to the cycle18 * between the tm and sm.19 */20struct dm_space_map *dm_sm_disk_create(struct dm_transaction_manager *tm,21				       dm_block_t nr_blocks);22 23struct dm_space_map *dm_sm_disk_open(struct dm_transaction_manager *tm,24				     void *root, size_t len);25 26#endif /* _LINUX_DM_SPACE_MAP_DISK_H */27