Files
linux/fs
Luis Chamberlain 753aadebf2 fs/buffer: simplify block_read_full_folio() with bh_offset()
When we read over all buffers in a folio we currently use the
buffer index on the folio and blocksize to get the offset. Simplify
this with bh_offset(). This simplifies the loop while making no
functional changes.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20250221223823.1680616-2-mcgrof@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-02-24 11:44:43 +01:00
..
2024-12-05 12:31:40 +01:00
2024-12-03 10:40:36 +01:00
2025-01-27 19:25:45 -05:00
2024-12-09 11:34:29 +01:00
2024-12-17 09:16:11 +01:00
2025-01-09 16:58:54 +01:00
2025-01-09 16:58:52 +01:00
2024-12-22 11:03:10 +01:00
2025-01-25 20:22:31 -08:00
2025-01-09 16:23:17 +01:00