diff options
-rw-r--r-- | mm/filemap.c | 6 |
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 */ |
1476 | no_cached_page: | 1476 | no_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 | ||
1501 | page_not_uptodate: | 1501 | page_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 | } |
1570 | EXPORT_SYMBOL(filemap_nopage); | 1570 | EXPORT_SYMBOL(filemap_nopage); |
1571 | 1571 | ||