Blame view

fs/btrfs/check-integrity.h 599 Bytes
9888c3402   David Sterba   btrfs: replace GP...
1
  /* SPDX-License-Identifier: GPL-2.0 */
5db027601   Stefan Behrens   Btrfs: add option...
2
3
  /*
   * Copyright (C) STRATO AG 2011.  All rights reserved.
5db027601   Stefan Behrens   Btrfs: add option...
4
   */
9888c3402   David Sterba   btrfs: replace GP...
5
6
  #ifndef BTRFS_CHECK_INTEGRITY_H
  #define BTRFS_CHECK_INTEGRITY_H
5db027601   Stefan Behrens   Btrfs: add option...
7
8
  
  #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
4e49ea4a3   Mike Christie   block/fs/drivers:...
9
10
  void btrfsic_submit_bio(struct bio *bio);
  int btrfsic_submit_bio_wait(struct bio *bio);
5db027601   Stefan Behrens   Btrfs: add option...
11
  #else
5db027601   Stefan Behrens   Btrfs: add option...
12
  #define btrfsic_submit_bio submit_bio
c170bbb45   Kent Overstreet   block: submit_bio...
13
  #define btrfsic_submit_bio_wait submit_bio_wait
5db027601   Stefan Behrens   Btrfs: add option...
14
  #endif
2ff7e61e0   Jeff Mahoney   btrfs: take an fs...
15
  int btrfsic_mount(struct btrfs_fs_info *fs_info,
5db027601   Stefan Behrens   Btrfs: add option...
16
17
  		  struct btrfs_fs_devices *fs_devices,
  		  int including_extent_data, u32 print_mask);
2ff7e61e0   Jeff Mahoney   btrfs: take an fs...
18
  void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
5db027601   Stefan Behrens   Btrfs: add option...
19
20
  
  #endif