GNU Linux-libre 5.19-rc6-gnu
[releases.git] / fs / btrfs / check-integrity.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) STRATO AG 2011.  All rights reserved.
4  */
5
6 #ifndef BTRFS_CHECK_INTEGRITY_H
7 #define BTRFS_CHECK_INTEGRITY_H
8
9 #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
10 void btrfsic_check_bio(struct bio *bio);
11 #else
12 static inline void btrfsic_check_bio(struct bio *bio) { }
13 #endif
14
15 int btrfsic_mount(struct btrfs_fs_info *fs_info,
16                   struct btrfs_fs_devices *fs_devices,
17                   int including_extent_data, u32 print_mask);
18 void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
19
20 #endif