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_mdt_submit_block to use a folio

Saves two calls to compound_head().

Link: https://lkml.kernel.org/r/20231114084436.2755-14-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
319a12c0 83d9638d

+2 -2
+2 -2
fs/nilfs2/mdt.c
··· 158 158 *out_bh = bh; 159 159 160 160 failed_bh: 161 - unlock_page(bh->b_page); 162 - put_page(bh->b_page); 161 + folio_unlock(bh->b_folio); 162 + folio_put(bh->b_folio); 163 163 brelse(bh); 164 164 failed: 165 165 return ret;