diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2026-05-28 18:59:03 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-05-29 05:34:24 -0600 |
| commit | ca36c1aaee095d009d73f6623fb5e536ada80032 (patch) | |
| tree | e2b954d3b906f8a9ef6aa95f145e55d09dc4733f /include/linux/debugobjects.h | |
| parent | 7d6eb455ecf0f95c54257ae372ac1272cff834e3 (diff) | |
block: Add bvec_folio()
This is a simple helper which replaces page_folio(bvec->bv_page).
Minor improvement in readability, but the real motivation is to reduce
the number of references to bvec->bv_page so that it can be changed
with less work.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@linux.dev>
Link: https://patch.msgid.link/20260528175905.1102280-2-willy@infradead.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
