diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-12-16 00:43:53 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-19 04:12:40 +0300 |
commit | 03c5f331234c5798965fa654783dbed1c792c7f4 (patch) | |
tree | 1b69ddb52769e56910dceb4b1e7c2170d40d528d /fs/buffer.c | |
parent | abc8a8a2c7dc7b557619befa8fb29be60ed481bc (diff) | |
download | linux-03c5f331234c5798965fa654783dbed1c792c7f4.tar.xz |
buffer: use b_folio in touch_buffer()
Removes a call to compound_head() in this path.
Link: https://lkml.kernel.org/r/20221215214402.3522366-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index e1055fe0b366..8a02fdaeec9a 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -60,7 +60,7 @@ static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh, inline void touch_buffer(struct buffer_head *bh) { trace_block_touch_buffer(bh); - mark_page_accessed(bh->b_page); + folio_mark_accessed(bh->b_folio); } EXPORT_SYMBOL(touch_buffer); |