commit | 4b7068c8b178401637ef2fb068d6256c97d23f4a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Jun 04 14:27:23 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jul 06 17:39:53 2015 -0400 |
tree | c08bd8f7aa0d7a07ef71b636685f496834649fea | |
parent | 5a39c25562aa5eab5a798919855cf41ddeed8b0d [diff] |
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: Al Viro <viro@zeniv.linux.org.uk>