mm/mempolicy: add missing annotation for queue_pages_pmd()
authorJules Irenge <jbi.octave@gmail.com>
Tue, 7 Apr 2020 03:08:12 +0000 (20:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:41 +0000 (10:43 -0700)
commit959a7e136d52bff429c774a4ed451b094706116b
tree4b62aa9be3a20311ab70c6daf6e619cf43e89c6f
parent1b2a1e7bb9ce9936d6839c1023737ccff7889dee
mm/mempolicy: add missing annotation for queue_pages_pmd()

Sparse reports a warning at queue_pages_pmd()

context imbalance in queue_pages_pmd() - unexpected unlock

The root cause is the missing annotation at queue_pages_pmd()
Add the missing __releases(ptl)

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200214204741.94112-8-jbi.octave@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c