]> www.infradead.org Git - users/willy/pagecache.git/commit
iomap: Hold state_lock over call to ifs_set_range_uptodate()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 29 Aug 2023 14:39:54 +0000 (10:39 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 4 Oct 2023 01:06:06 +0000 (21:06 -0400)
commitd9aaf3c7d1b39cf2eceecd58e041fcd6655196b6
tree765019dcb812354d9686f1ca8996f05de07ef61c
parentcbf3a2cb156a2c911d8f38d8247814b4c07f49a2
iomap: Hold state_lock over call to ifs_set_range_uptodate()

This is really preparation for the next patch, but it lets us call
folio_mark_uptodate() in just one place instead of two.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/iomap/buffered-io.c