diff options
author | Paul Mackerras <paulus@samba.org> | 2007-05-07 23:37:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 23:37:51 -0400 |
commit | 02bbc0f09c90cefdb2837605c96a66c5ce4ba2e1 (patch) | |
tree | 04ef573cd4de095c500c9fc3477f4278c0b36300 /mm/swapfile.c | |
parent | 7487a2245b8841c77ba9db406cf99a483b9334e9 (diff) | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) |
Merge branch 'linux-2.6'
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r-- | mm/swapfile.c | 3 |
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 | ||