diff options
author | David Sterba | 2014-06-15 00:49:36 +0200 |
---|---|---|
committer | David Sterba | 2014-10-02 16:30:40 +0200 |
commit | 6197d86eabb844c1a9c99956d4e6b0f8eb548ad3 (patch) | |
tree | d26ec3e9070147d7c411f711be4b0dec6a711cd7 /fs/btrfs/extent-tree.c | |
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/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 058abd088f0f..e0468a9789a5 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -7486,9 +7486,7 @@ static noinline void reada_walk_down(struct btrfs_trans_handle *trans, continue; } reada: - ret = readahead_tree_block(root, bytenr, blocksize); - if (ret) - break; + readahead_tree_block(root, bytenr, blocksize); nread++; } wc->reada_slot = slot; |