diff options
author | Matthew Wilcox (Oracle) | 2021-03-12 23:57:44 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) | 2022-01-04 13:15:34 -0500 |
commit | 960ea971fa6cdac8d4825a6aaf99b92882e79fbb (patch) | |
tree | 9afc2b3ce4e4be564890374793d2b4489d217979 /include/linux/pfn.h | |
parent | 820b05e92bdf07de94bc52c17d935d9ca0a481b3 (diff) |
filemap: Use a folio in filemap_page_mkwrite
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.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'include/linux/pfn.h')
0 files changed, 0 insertions, 0 deletions