diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 1c702f6f1241..32f6763f16fb 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -332,10 +332,14 @@ repeat: | |||
332 | if (unlikely(!page)) | 332 | if (unlikely(!page)) |
333 | continue; | 333 | continue; |
334 | if (radix_tree_exception(page)) { | 334 | if (radix_tree_exception(page)) { |
335 | if (radix_tree_exceptional_entry(page)) | 335 | if (radix_tree_deref_retry(page)) |
336 | goto export; | 336 | goto restart; |
337 | /* radix_tree_deref_retry(page) */ | 337 | /* |
338 | goto restart; | 338 | * Otherwise, we must be storing a swap entry |
339 | * here as an exceptional entry: so return it | ||
340 | * without attempting to raise page count. | ||
341 | */ | ||
342 | goto export; | ||
339 | } | 343 | } |
340 | if (!page_cache_get_speculative(page)) | 344 | if (!page_cache_get_speculative(page)) |
341 | goto repeat; | 345 | goto repeat; |