commit | b9a8a4195c7d3a51235a4fc974a46ad4e9689ffd | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Wed May 27 17:59:22 2020 -0400 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Sat Jan 08 00:28:41 2022 -0500 |
tree | 48f7ce0a78ed104be739fb45bfca21cbaf351a44 | |
parent | f6357c3a9d3ea5a00c5bf52845b633d649da6722 [diff] |
truncate,shmem: Handle truncates that split large folios Handle folio splitting in the parts of the truncation functions which already handle partial pages. Factor all that code out into a new function called truncate_inode_partial_folio(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: William Kucharski <william.kucharski@oracle.com>