summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-01-18 03:33:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-18 03:33:15 +0100
commit25eedabe019851bc513abd601ed514df524cb482 (patch)
tree924e8cfcb1516b29468696b7384a1a9195806bbb /crypto/asymmetric_keys
parentdrm/vc4: fix warning in validate printf. (diff)
downloadlinux-25eedabe019851bc513abd601ed514df524cb482.tar.xz
linux-25eedabe019851bc513abd601ed514df524cb482.zip
vm: fix incorrect unlock error path in madvise_free_huge_pmd
Commit b8d3c4c3009d ("mm/huge_memory.c: don't split THP page when MADV_FREE syscall is called") introduced this new function, but got the error handling for when pmd_trans_huge_lock() fails wrong. In the failure case, the lock has not been taken, and we should not unlock on the way out. Cc: Minchan Kim <minchan@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions