overlayfs: Implement splice-read
[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
58ff51f1 10void btrfsic_check_bio(struct bio *bio);
5db02760 11#else
58ff51f1 12static inline void btrfsic_check_bio(struct bio *bio) { }
5db02760
SB
13#endif
14
2ff7e61e 15int btrfsic_mount(struct btrfs_fs_info *fs_info,
5db02760
SB
16 struct btrfs_fs_devices *fs_devices,
17 int including_extent_data, u32 print_mask);
2ff7e61e 18void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
5db02760
SB
19
20#endif