summaryrefslogtreecommitdiff
path: root/fs/ntfs3/dir.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-04-28 23:59:15 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-08 14:45:57 -0400
commit6c2ae0d5db57d772a11f2d7399da5e22f94767d6 (patch)
treee8524508b12038ee8c57452b4bcb4a15bb314a82 /fs/ntfs3/dir.c
parent2ebdd1df316636c2faf25a1780e12553adf09cf7 (diff)
buffer: Rewrite nobh_truncate_page() to use folios
- Calculate iblock directly instead of using a while loop - Move has_buffers to the end to remove a backwards jump - Use __filemap_get_folio() instead of grab_cache_page(), which removes a spurious FGP_ACCESSED flag. - Eliminate length and pos variables - Use folio APIs where they exist Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/ntfs3/dir.c')
0 files changed, 0 insertions, 0 deletions