19888c340SDavid Sterba /* SPDX-License-Identifier: GPL-2.0 */ 25db02760SStefan Behrens /* 35db02760SStefan Behrens * Copyright (C) STRATO AG 2011. All rights reserved. 45db02760SStefan Behrens */ 55db02760SStefan Behrens 69888c340SDavid Sterba #ifndef BTRFS_CHECK_INTEGRITY_H 79888c340SDavid Sterba #define BTRFS_CHECK_INTEGRITY_H 85db02760SStefan Behrens 95db02760SStefan Behrens #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY 10*58ff51f1SChristoph Hellwig void btrfsic_check_bio(struct bio *bio); 115db02760SStefan Behrens #else btrfsic_check_bio(struct bio * bio)12*58ff51f1SChristoph Hellwigstatic inline void btrfsic_check_bio(struct bio *bio) { } 135db02760SStefan Behrens #endif 145db02760SStefan Behrens 152ff7e61eSJeff Mahoney int btrfsic_mount(struct btrfs_fs_info *fs_info, 165db02760SStefan Behrens struct btrfs_fs_devices *fs_devices, 175db02760SStefan Behrens int including_extent_data, u32 print_mask); 182ff7e61eSJeff Mahoney void btrfsic_unmount(struct btrfs_fs_devices *fs_devices); 195db02760SStefan Behrens 205db02760SStefan Behrens #endif 21