@@ -2537,9 +2537,10 @@ int btrfs_get_io_failure_record(struct inode *inode, u64 start, u64 end,
return 0;
}
-bool btrfs_check_repairable(struct inode *inode, bool need_validation,
- struct io_failure_record *failrec,
- int failed_mirror)
+static bool btrfs_check_repairable(struct inode *inode,
+ bool need_validation,
+ struct io_failure_record *failrec,
+ int failed_mirror)
{
struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
int num_copies;
@@ -312,9 +312,6 @@ struct io_failure_record {
};
-bool btrfs_check_repairable(struct inode *inode, bool need_validation,
- struct io_failure_record *failrec,
- int failed_mirror);
struct bio *btrfs_create_repair_bio(struct inode *inode, struct bio *failed_bio,
struct io_failure_record *failrec,
struct page *page, int pg_offset, int icsum,