ufs: move calculation of offsets into ufs_getfrag_block()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Jun 2015 18:27:23 +0000 (14:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:53 +0000 (17:39 -0400)
... 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: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/inode.c

diff --cc fs/ufs/inode.c
Simple merge