Linux Audio

Check our new training course

Loading...
v5.4
 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
10int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh);
11void btrfsic_submit_bio(struct bio *bio);
12int btrfsic_submit_bio_wait(struct bio *bio);
13#else
14#define btrfsic_submit_bh submit_bh
15#define btrfsic_submit_bio submit_bio
16#define btrfsic_submit_bio_wait submit_bio_wait
17#endif
18
19int btrfsic_mount(struct btrfs_fs_info *fs_info,
20		  struct btrfs_fs_devices *fs_devices,
21		  int including_extent_data, u32 print_mask);
22void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
23
24#endif
v6.2
 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
10void btrfsic_check_bio(struct bio *bio);
 
 
11#else
12static inline void btrfsic_check_bio(struct bio *bio) { }
 
 
13#endif
14
15int btrfsic_mount(struct btrfs_fs_info *fs_info,
16		  struct btrfs_fs_devices *fs_devices,
17		  int including_extent_data, u32 print_mask);
18void btrfsic_unmount(struct btrfs_fs_devices *fs_devices);
19
20#endif