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

Saves two calls to compound_head().

Link: https://lkml.kernel.org/r/20231114084436.2755-13-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
83d9638d 5a5cad8c

+2 -2
+2 -2
fs/nilfs2/mdt.c
··· 97 97 } 98 98 99 99 failed_bh: 100 - unlock_page(bh->b_page); 101 - put_page(bh->b_page); 100 + folio_unlock(bh->b_folio); 101 + folio_put(bh->b_folio); 102 102 brelse(bh); 103 103 104 104 failed_unlock: