diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:52 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:09 +0100 |
commit | 4ac1f4acd7c60c95e3efa63d463418093aff9ce5 (patch) | |
tree | db16aa3708e91410a77ebbb5d8a6937a99188e03 /fs/btrfs/extent_io.h | |
parent | 2cff578cfceba883eef199c52674a301a8f91d19 (diff) | |
download | linux-stable-4ac1f4acd7c60c95e3efa63d463418093aff9ce5.tar.gz linux-stable-4ac1f4acd7c60c95e3efa63d463418093aff9ce5.tar.bz2 linux-stable-4ac1f4acd7c60c95e3efa63d463418093aff9ce5.zip |
btrfs: make free_io_failure take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 270d03be290e..5b4132a9093a 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -480,6 +480,8 @@ struct io_failure_record { int in_validation; }; +struct btrfs_inode; + void btrfs_free_io_failure_record(struct inode *inode, u64 start, u64 end); int btrfs_get_io_failure_record(struct inode *inode, u64 start, u64 end, struct io_failure_record **failrec_ret); @@ -489,7 +491,7 @@ 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, bio_end_io_t *endio_func, void *data); -int free_io_failure(struct inode *inode, struct io_failure_record *rec); +int free_io_failure(struct btrfs_inode *inode, struct io_failure_record *rec); #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS noinline u64 find_lock_delalloc_range(struct inode *inode, struct extent_io_tree *tree, |