diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-12-15 21:43:53 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-19 01:12:40 +0000 |
| commit | 03c5f331234c5798965fa654783dbed1c792c7f4 (patch) | |
| tree | 1b69ddb52769e56910dceb4b1e7c2170d40d528d /fs/buffer.c | |
| parent | buffer: replace obvious uses of b_page with b_folio (diff) | |
| download | kernel-03c5f331234c5798965fa654783dbed1c792c7f4.tar.gz kernel-03c5f331234c5798965fa654783dbed1c792c7f4.zip | |
buffer: use b_folio in touch_buffer()
Removes a call to compound_head() in this path.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
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); |
