Loading fs/btrfs/extent-io-tree.h +0 −6 Original line number Diff line number Diff line Loading @@ -248,14 +248,8 @@ bool btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start, struct extent_state **cached_state); /* This should be reworked in the future and put elsewhere. */ struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start); int set_state_failrec(struct extent_io_tree *tree, u64 start, struct io_failure_record *failrec); void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start, u64 end); int free_io_failure(struct extent_io_tree *failure_tree, struct extent_io_tree *io_tree, struct io_failure_record *rec); int btrfs_clean_io_failure(struct btrfs_inode *inode, u64 start, struct page *page, unsigned int pg_offset); Loading fs/btrfs/extent_io.c +7 −6 Original line number Diff line number Diff line Loading @@ -2163,7 +2163,7 @@ u64 count_range_bits(struct extent_io_tree *tree, * set the private field for a given byte offset in the tree. If there isn't * an extent_state there already, this does nothing. */ int set_state_failrec(struct extent_io_tree *tree, u64 start, static int set_state_failrec(struct extent_io_tree *tree, u64 start, struct io_failure_record *failrec) { struct rb_node *node; Loading Loading @@ -2191,7 +2191,8 @@ int set_state_failrec(struct extent_io_tree *tree, u64 start, return ret; } struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start) static struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start) { struct rb_node *node; struct extent_state *state; Loading Loading @@ -2275,7 +2276,7 @@ int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, return bitset; } int free_io_failure(struct extent_io_tree *failure_tree, static int free_io_failure(struct extent_io_tree *failure_tree, struct extent_io_tree *io_tree, struct io_failure_record *rec) { Loading Loading
fs/btrfs/extent-io-tree.h +0 −6 Original line number Diff line number Diff line Loading @@ -248,14 +248,8 @@ bool btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start, struct extent_state **cached_state); /* This should be reworked in the future and put elsewhere. */ struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start); int set_state_failrec(struct extent_io_tree *tree, u64 start, struct io_failure_record *failrec); void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start, u64 end); int free_io_failure(struct extent_io_tree *failure_tree, struct extent_io_tree *io_tree, struct io_failure_record *rec); int btrfs_clean_io_failure(struct btrfs_inode *inode, u64 start, struct page *page, unsigned int pg_offset); Loading
fs/btrfs/extent_io.c +7 −6 Original line number Diff line number Diff line Loading @@ -2163,7 +2163,7 @@ u64 count_range_bits(struct extent_io_tree *tree, * set the private field for a given byte offset in the tree. If there isn't * an extent_state there already, this does nothing. */ int set_state_failrec(struct extent_io_tree *tree, u64 start, static int set_state_failrec(struct extent_io_tree *tree, u64 start, struct io_failure_record *failrec) { struct rb_node *node; Loading Loading @@ -2191,7 +2191,8 @@ int set_state_failrec(struct extent_io_tree *tree, u64 start, return ret; } struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start) static struct io_failure_record *get_state_failrec(struct extent_io_tree *tree, u64 start) { struct rb_node *node; struct extent_state *state; Loading Loading @@ -2275,7 +2276,7 @@ int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, return bitset; } int free_io_failure(struct extent_io_tree *failure_tree, static int free_io_failure(struct extent_io_tree *failure_tree, struct extent_io_tree *io_tree, struct io_failure_record *rec) { Loading