Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nilfs2: convert nilfs_gccache_submit_read_data to use a folio

Saves two calls to compound_head().

Link: https://lkml.kernel.org/r/20231114084436.2755-15-konishi.ryusuke@gmail.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Matthew Wilcox (Oracle) and committed by
Andrew Morton
af01ea51 319a12c0

+2 -2
+2 -2
fs/nilfs2/gcinode.c
··· 98 98 *out_bh = bh; 99 99 100 100 failed: 101 - unlock_page(bh->b_page); 102 - put_page(bh->b_page); 101 + folio_unlock(bh->b_folio); 102 + folio_put(bh->b_folio); 103 103 if (unlikely(err)) 104 104 brelse(bh); 105 105 return err;