File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ static void __end_swap_bio_write(struct bio *bio)
32
32
struct page * page = bio_first_page_all (bio );
33
33
34
34
if (bio -> bi_status ) {
35
- SetPageError (page );
36
35
/*
37
36
* We failed to write the page out to swap-space.
38
37
* Re-dirty the page in order to avoid it being reclaimed.
@@ -61,7 +60,6 @@ static void __end_swap_bio_read(struct bio *bio)
61
60
struct page * page = bio_first_page_all (bio );
62
61
63
62
if (bio -> bi_status ) {
64
- SetPageError (page );
65
63
pr_alert_ratelimited ("Read-error on swap-device (%u:%u:%llu)\n" ,
66
64
MAJOR (bio_dev (bio )), MINOR (bio_dev (bio )),
67
65
(unsigned long long )bio -> bi_iter .bi_sector );
@@ -415,7 +413,6 @@ static void sio_read_complete(struct kiocb *iocb, long ret)
415
413
for (p = 0 ; p < sio -> pages ; p ++ ) {
416
414
struct page * page = sio -> bvec [p ].bv_page ;
417
415
418
- SetPageError (page );
419
416
unlock_page (page );
420
417
}
421
418
pr_alert_ratelimited ("Read-error on swap-device\n" );
You can’t perform that action at this time.
0 commit comments