Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4b7068c8 authored by Al Viro's avatar Al Viro
Browse files

ufs: move calculation of offsets into ufs_getfrag_block()



... and massage ufs_frag_map() to take those instead of fragment number.

As it is, we duplicate the damn thing on the write side, open-coded and
bloody hard to follow.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5a39c255
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment