aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/filemap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index afcdc72b5e90..3277f3b23524 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1471,7 +1471,7 @@ outside_data_content:
1471 * accessible.. 1471 * accessible..
1472 */ 1472 */
1473 if (area->vm_mm == current->mm) 1473 if (area->vm_mm == current->mm)
1474 return NULL; 1474 return NOPAGE_SIGBUS;
1475 /* Fall through to the non-read-ahead case */ 1475 /* Fall through to the non-read-ahead case */
1476no_cached_page: 1476no_cached_page:
1477 /* 1477 /*
@@ -1496,7 +1496,7 @@ no_cached_page:
1496 */ 1496 */
1497 if (error == -ENOMEM) 1497 if (error == -ENOMEM)
1498 return NOPAGE_OOM; 1498 return NOPAGE_OOM;
1499 return NULL; 1499 return NOPAGE_SIGBUS;
1500 1500
1501page_not_uptodate: 1501page_not_uptodate:
1502 if (!did_readaround) { 1502 if (!did_readaround) {
@@ -1565,7 +1565,7 @@ page_not_uptodate:
1565 */ 1565 */
1566 shrink_readahead_size_eio(file, ra); 1566 shrink_readahead_size_eio(file, ra);
1567 page_cache_release(page); 1567 page_cache_release(page);
1568 return NULL; 1568 return NOPAGE_SIGBUS;
1569} 1569}
1570EXPORT_SYMBOL(filemap_nopage); 1570EXPORT_SYMBOL(filemap_nopage);
1571 1571