Merge tag 'tag-chrome-platform-for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / fs / btrfs / check-integrity.h
CommitLineData
9888c340 1/* SPDX-License-Identifier: GPL-2.0 */
5db02760
SB
2/*
3 * Copyright (C) STRATO AG 2011. All rights reserved.
5db02760
SB
4 */
5
9888c340
DS
6#ifndef BTRFS_CHECK_INTEGRITY_H
7#define BTRFS_CHECK_INTEGRITY_H
5db02760
SB
8
9#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
4e49ea4a
MC
10void btrfsic_submit_bio(struct bio *bio);
11int btrfsic_submit_bio_wait(struct bio *bio);
5db02760 12#else
5db02760 13#define btrfsic_submit_bio submit_bio
c170bbb4 14#define btrfsic_submit_bio_wait submit_bio_wait
5db02760
SB
15#endif
16
2ff7e61e 17int btrfsic_mount(struct btrfs_fs_info *fs_info,
5db02760
SB
18 struct btrfs_fs_devices *fs_devices,
19 int including_extent_data, u32 print_mask);
2ff7e61e 20void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
5db02760
SB
21
22#endif