summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-09-08 14:42:14 +0800
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:05 +0200
commit51cf580c23627de4eaf3d96b8ea7275770bacf6d (patch)
tree34a6746ae25bcd3df1b69a9fbdcad95cb2ded130 /fs/btrfs/check-integrity.h
parent150cce2d9fbe0acb48da737f8ea443d8b0847b72 (diff)
downloadlinux-51cf580c23627de4eaf3d96b8ea7275770bacf6d.tar.gz
linux-51cf580c23627de4eaf3d96b8ea7275770bacf6d.tar.bz2
linux-51cf580c23627de4eaf3d96b8ea7275770bacf6d.zip
btrfs: check-integrity: remove btrfsic_check_bio() function
The function btrfsic_check_bio() is part of the deprecated check-integrity functionality. Now let's remove the main entry point of check-integrity, and thankfully most of the check-integrity code is self-contained inside check-integrity.c, we can safely remove the function without huge changes to btrfs code base. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/check-integrity.h')
-rw-r--r--fs/btrfs/check-integrity.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/check-integrity.h b/fs/btrfs/check-integrity.h
index e4c8aed7996f..40289f1db471 100644
--- a/fs/btrfs/check-integrity.h
+++ b/fs/btrfs/check-integrity.h
@@ -6,12 +6,6 @@
#ifndef BTRFS_CHECK_INTEGRITY_H
#define BTRFS_CHECK_INTEGRITY_H
-#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
-void btrfsic_check_bio(struct bio *bio);
-#else
-static inline void btrfsic_check_bio(struct bio *bio) { }
-#endif
-
int btrfsic_mount(struct btrfs_fs_info *fs_info,
struct btrfs_fs_devices *fs_devices,
int including_extent_data, u32 print_mask);