Linux 5.8-rc4
[linux/fpc-iii.git] / fs / btrfs / check-integrity.h
blobbcc730a06cb5847c4b052baf4deb6bd3a02970a8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) STRATO AG 2011. All rights reserved.
4 */
6 #ifndef BTRFS_CHECK_INTEGRITY_H
7 #define BTRFS_CHECK_INTEGRITY_H
9 #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
10 void btrfsic_submit_bio(struct bio *bio);
11 int btrfsic_submit_bio_wait(struct bio *bio);
12 #else
13 #define btrfsic_submit_bio submit_bio
14 #define btrfsic_submit_bio_wait submit_bio_wait
15 #endif
17 int btrfsic_mount(struct btrfs_fs_info *fs_info,
18 struct btrfs_fs_devices *fs_devices,
19 int including_extent_data, u32 print_mask);
20 void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
22 #endif