mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
btrfs: unexport repair_io_failure()
Function repair_io_failure() is no longer used out of extent_io.c since
commit 8b9b6f2554
("btrfs: scrub: cleanup the remaining nodatasum
fixup code"), which removes the last external caller.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f6df27dd27
commit
38d5e541dd
2 changed files with 3 additions and 6 deletions
|
@ -2282,9 +2282,9 @@ int free_io_failure(struct extent_io_tree *failure_tree,
|
||||||
* currently, there can be no more than two copies of every data bit. thus,
|
* currently, there can be no more than two copies of every data bit. thus,
|
||||||
* exactly one rewrite is required.
|
* exactly one rewrite is required.
|
||||||
*/
|
*/
|
||||||
int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
|
static int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
|
||||||
u64 length, u64 logical, struct page *page,
|
u64 length, u64 logical, struct page *page,
|
||||||
unsigned int pg_offset, int mirror_num)
|
unsigned int pg_offset, int mirror_num)
|
||||||
{
|
{
|
||||||
struct bio *bio;
|
struct bio *bio;
|
||||||
struct btrfs_device *dev;
|
struct btrfs_device *dev;
|
||||||
|
|
|
@ -283,9 +283,6 @@ struct bio *btrfs_io_bio_alloc(unsigned int nr_iovecs);
|
||||||
struct bio *btrfs_bio_clone(struct bio *bio);
|
struct bio *btrfs_bio_clone(struct bio *bio);
|
||||||
struct bio *btrfs_bio_clone_partial(struct bio *orig, u64 offset, u64 size);
|
struct bio *btrfs_bio_clone_partial(struct bio *orig, u64 offset, u64 size);
|
||||||
|
|
||||||
int repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start,
|
|
||||||
u64 length, u64 logical, struct page *page,
|
|
||||||
unsigned int pg_offset, int mirror_num);
|
|
||||||
void end_extent_writepage(struct page *page, int err, u64 start, u64 end);
|
void end_extent_writepage(struct page *page, int err, u64 start, u64 end);
|
||||||
int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, int mirror_num);
|
int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, int mirror_num);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue