mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02: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:
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user