Hi all, Clean up the inode reading and writing callsites and the opencoded unit conversion code throughout the program. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. Comments and questions are, as always, welcome. e2fsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/e2fsprogs.git/log/?h=fuse2fs-cleanups --- Commits in this patchset: * fuse2fs: clean up open-coded ext2_inode_large -> ext2_inode casts * fuse2fs: simplify reading and writing inodes * fuse2fs: implement blocksize converters --- misc/fuse2fs.c | 269 +++++++++++++++++++++++++++----------------------------- 1 file changed, 132 insertions(+), 137 deletions(-)