diff options
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index efe68148f621..4514ad7415c3 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -2311,10 +2311,6 @@ void wait_for_stable_page(struct page *page) | |||
2311 | 2311 | ||
2312 | if (!bdi_cap_stable_pages_required(bdi)) | 2312 | if (!bdi_cap_stable_pages_required(bdi)) |
2313 | return; | 2313 | return; |
2314 | #ifdef CONFIG_NEED_BOUNCE_POOL | ||
2315 | if (mapping->host->i_sb->s_flags & MS_SNAP_STABLE) | ||
2316 | return; | ||
2317 | #endif /* CONFIG_NEED_BOUNCE_POOL */ | ||
2318 | 2314 | ||
2319 | wait_on_page_writeback(page); | 2315 | wait_on_page_writeback(page); |
2320 | } | 2316 | } |