On Wed, Dec 08, 2021 at 04:22:38AM +0000, Matthew Wilcox (Oracle) wrote: > This fixes a bug for tail pages. They always have a NULL mapping, so > the check would fail and we would never mark the folio as dirty. > Ends up growing the kernel by 19 bytes although there will be fewer > calls to compound_head() dynamically. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>