]> www.infradead.org Git - users/willy/pagecache.git/commit
mm: Assert the mmap_lock is held in __anon_vma_prepare()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 12 Apr 2024 13:47:53 +0000 (09:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 12 Apr 2024 16:01:58 +0000 (12:01 -0400)
commitb6adf494d78314b61381c7093d713eee50dd2694
treea130e5031a08b7b172f77451839f8fc6cf048d52
parent9875c0beb8adaab602572b983fb59dbd761d5882
mm: Assert the mmap_lock is held in __anon_vma_prepare()

Convert the comment into an assertion.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/rmap.c