diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-14 18:49:36 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 10:30:40 -0400 |
commit | 6197d86eabb844c1a9c99956d4e6b0f8eb548ad3 (patch) | |
tree | d26ec3e9070147d7c411f711be4b0dec6a711cd7 /fs/btrfs/disk-io.h | |
parent | 58dc4ce4325108b35425ffd30e6acfad9644d49d (diff) |
btrfs: return void from readahead_tree_block
Errors in readahead are not fatal and ignored elsewhere in the code.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 8cd6a53db621..0d9793f6b594 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -46,7 +46,7 @@ struct btrfs_fs_devices; | |||
46 | 46 | ||
47 | struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, | 47 | struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, |
48 | u32 blocksize, u64 parent_transid); | 48 | u32 blocksize, u64 parent_transid); |
49 | int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize); | 49 | void readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize); |
50 | int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, u32 blocksize, | 50 | int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, u32 blocksize, |
51 | int mirror_num, struct extent_buffer **eb); | 51 | int mirror_num, struct extent_buffer **eb); |
52 | struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, | 52 | struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, |