diff options
-rw-r--r-- | fs/btrfs/extent_io.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index dd5df53e045a..37d43b516b79 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -2377,11 +2377,6 @@ static int extent_write_cache_pages(struct extent_io_tree *tree, | |||
2377 | int scanned = 0; | 2377 | int scanned = 0; |
2378 | int range_whole = 0; | 2378 | int range_whole = 0; |
2379 | 2379 | ||
2380 | if (wbc->nonblocking && bdi_write_congested(bdi)) { | ||
2381 | wbc->encountered_congestion = 1; | ||
2382 | return 0; | ||
2383 | } | ||
2384 | |||
2385 | pagevec_init(&pvec, 0); | 2380 | pagevec_init(&pvec, 0); |
2386 | if (wbc->range_cyclic) { | 2381 | if (wbc->range_cyclic) { |
2387 | index = mapping->writeback_index; /* Start from prev offset */ | 2382 | index = mapping->writeback_index; /* Start from prev offset */ |