check-integrity.h 599 B

12345678910111213141516171819202122
  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_submit_bio(struct bio *bio);
  9. int btrfsic_submit_bio_wait(struct bio *bio);
  10. #else
  11. #define btrfsic_submit_bio submit_bio
  12. #define btrfsic_submit_bio_wait submit_bio_wait
  13. #endif
  14. int btrfsic_mount(struct btrfs_fs_info *fs_info,
  15. struct btrfs_fs_devices *fs_devices,
  16. int including_extent_data, u32 print_mask);
  17. void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
  18. #endif