aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r--mm/swapfile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c
index a2d9bb4e80df..acc172cbe3aa 100644
--- a/mm/swapfile.c
+++ b/mm/swapfile.c
@@ -1531,9 +1531,6 @@ asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags)
1531 error = PTR_ERR(page); 1531 error = PTR_ERR(page);
1532 goto bad_swap; 1532 goto bad_swap;
1533 } 1533 }
1534 wait_on_page_locked(page);
1535 if (!PageUptodate(page))
1536 goto bad_swap;
1537 kmap(page); 1534 kmap(page);
1538 swap_header = page_address(page); 1535 swap_header = page_address(page);
1539 1536