diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/rmap.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -323,7 +323,7 @@ void __init anon_vma_init(void) | |||
323 | * Getting a lock on a stable anon_vma from a page off the LRU is | 323 | * Getting a lock on a stable anon_vma from a page off the LRU is |
324 | * tricky: page_lock_anon_vma rely on RCU to guard against the races. | 324 | * tricky: page_lock_anon_vma rely on RCU to guard against the races. |
325 | */ | 325 | */ |
326 | struct anon_vma *__page_lock_anon_vma(struct page *page) | 326 | struct anon_vma *page_lock_anon_vma(struct page *page) |
327 | { | 327 | { |
328 | struct anon_vma *anon_vma, *root_anon_vma; | 328 | struct anon_vma *anon_vma, *root_anon_vma; |
329 | unsigned long anon_mapping; | 329 | unsigned long anon_mapping; |
@@ -357,8 +357,6 @@ out: | |||
357 | } | 357 | } |
358 | 358 | ||
359 | void page_unlock_anon_vma(struct anon_vma *anon_vma) | 359 | void page_unlock_anon_vma(struct anon_vma *anon_vma) |
360 | __releases(&anon_vma->root->lock) | ||
361 | __releases(RCU) | ||
362 | { | 360 | { |
363 | anon_vma_unlock(anon_vma); | 361 | anon_vma_unlock(anon_vma); |
364 | rcu_read_unlock(); | 362 | rcu_read_unlock(); |