mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 01:49:20 -04:00
f2fs: Use folio_unlock() in f2fs_write_compressed_pages()
Remove a call to compound_head() by replacing a call to unlock_page() with a call to folio_unlock(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
committed by
Jaegeuk Kim
parent
d342b7adad
commit
79d976a2e7
@@ -1419,7 +1419,7 @@ static int f2fs_write_compressed_pages(struct compress_ctx *cc,
|
||||
(*submitted)++;
|
||||
unlock_continue:
|
||||
inode_dec_dirty_pages(cc->inode);
|
||||
unlock_page(fio.page);
|
||||
folio_unlock(fio.folio);
|
||||
}
|
||||
|
||||
if (fio.compr_blocks)
|
||||
|
||||
Reference in New Issue
Block a user