aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-11-07 21:26:42 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 16:51:36 -0800
commit78c3c11268c38c5fb5b58f6be1bb018f3f1c195e (patch)
treebdbc49b8314d849b45c434db4c36538030dc0b83 /mm/truncate.c
parentmm: add folio_fill_tail() and use it in iomap (diff)
downloadwireguard-linux-78c3c11268c38c5fb5b58f6be1bb018f3f1c195e.tar.xz
wireguard-linux-78c3c11268c38c5fb5b58f6be1bb018f3f1c195e.zip
gfs2: convert stuffed_readpage() to stuffed_read_folio()
Use folio_fill_tail() to implement the unstuffing and folio_end_read() to simultaneously mark the folio uptodate and unlock it. Unifies a couple of code paths. Link: https://lkml.kernel.org/r/20231107212643.3490372-4-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com> Cc: Andreas Dilger <adilger.kernel@dilger.ca> Cc: Darrick J. Wong <djwong@kernel.org> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions