Skip to content
Commit 469ad583 authored by Al Viro's avatar Al Viro
Browse files

erofs: switch erofs_bread() to passing offset instead of block number



Callers are happier that way, especially since we no longer need to
play with splitting offset into block number and offset within block,
passing the former to erofs_bread(), then adding the latter...

erofs_bread() always reads entire pages, anyway.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 39cd87c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment