Subject: linux-next: build failure after merge of the mm tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 6 Mar 2023 13:54:47 +1100

Hi all,

After merging the mm tree, today's linux-next build (various) failed
like this:

mm/khugepaged.c:1702:9: error: implicit declaration of function ‘vma_try_start_write’; did you mean ‘vma_start_write’? [-Werror=implicit-function-declaration]

Caused by commit

  92e3612279f9 ("mm/khugepaged: fix vm_lock/i_mmap_rwsem inversion in retract_page_tables")

The definition of vma_try_start_write() is protected by
CONFIG_PER_VMA_LOCK, but its use is not.

-- 
Cheers,
Stephen Rothwell