check-integrity.h 524 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) STRATO AG 2011. All rights reserved.
  4. */
  5. #ifndef BTRFS_CHECK_INTEGRITY_H
  6. #define BTRFS_CHECK_INTEGRITY_H
  7. #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
  8. void btrfsic_check_bio(struct bio *bio);
  9. #else
  10. static inline void btrfsic_check_bio(struct bio *bio) { }
  11. #endif
  12. int btrfsic_mount(struct btrfs_fs_info *fs_info,
  13. struct btrfs_fs_devices *fs_devices,
  14. int including_extent_data, u32 print_mask);
  15. void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
  16. #endif