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

Saves two calls to compound_head().

Link: https://lkml.kernel.org/r/20231114084436.2755-16-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
d80cb777 af01ea51

+2 -2
+2 -2
fs/nilfs2/btnode.c
··· 64 64 set_buffer_mapped(bh); 65 65 set_buffer_uptodate(bh); 66 66 67 - unlock_page(bh->b_page); 68 - put_page(bh->b_page); 67 + folio_unlock(bh->b_folio); 68 + folio_put(bh->b_folio); 69 69 return bh; 70 70 } 71 71