summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-26 18:36:12 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 10:05:29 +0300
commit173a3dc051bda746e284ff3933fcf6771d7247b8 (patch)
tree1a430442e485c280b1646cc0d7b803a75ef940e3 /include/linux
parenta58f3dcf20ea9e7e968ee8369fd782bbb53dff73 (diff)
downloadlinux-173a3dc051bda746e284ff3933fcf6771d7247b8.tar.xz
mm: assert the folio is locked in folio_start_writeback()
The folio must be locked when we start writeback in order to prevent writeback from being started twice on the same folio. I don't expect this to catch any problems, but it should be good documentation. Link: https://lkml.kernel.org/r/20250226153614.3774896-1-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions