18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) STRATO AG 2011. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef BTRFS_CHECK_INTEGRITY_H 78c2ecf20Sopenharmony_ci#define BTRFS_CHECK_INTEGRITY_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY 108c2ecf20Sopenharmony_civoid btrfsic_submit_bio(struct bio *bio); 118c2ecf20Sopenharmony_ciint btrfsic_submit_bio_wait(struct bio *bio); 128c2ecf20Sopenharmony_ci#else 138c2ecf20Sopenharmony_ci#define btrfsic_submit_bio submit_bio 148c2ecf20Sopenharmony_ci#define btrfsic_submit_bio_wait submit_bio_wait 158c2ecf20Sopenharmony_ci#endif 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciint btrfsic_mount(struct btrfs_fs_info *fs_info, 188c2ecf20Sopenharmony_ci struct btrfs_fs_devices *fs_devices, 198c2ecf20Sopenharmony_ci int including_extent_data, u32 print_mask); 208c2ecf20Sopenharmony_civoid btrfsic_unmount(struct btrfs_fs_devices *fs_devices); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif 23