Revert "BACKPORT: futex: Fix requirement for lock_page() in get_futex_key()"
This reverts commit fc911bf76ac209366cf8f1ef702b5175290ce466.
This commit is contained in:
parent
c2fcfecf50
commit
8e0357da31
|
@ -358,8 +358,8 @@ again:
|
|||
* applies. If this is really a shmem page then the page lock
|
||||
* will prevent unexpected transitions.
|
||||
*/
|
||||
lock_page(page_head);
|
||||
shmem_swizzled = PageSwapCache(page_head) || page_head->mapping;
|
||||
lock_page(page);
|
||||
shmem_swizzled = PageSwapCache(page) || page->mapping;
|
||||
unlock_page(page_head);
|
||||
put_page(page_head);
|
||||
|
||||
|
|
Loading…
Reference in New Issue