Hi all, This series fixes more bugs in fuse2fs. 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-fixes --- Commits in this patchset: * libext2fs: fix off-by-one bug in punch_extent_blocks * libext2fs: fix arguments passed to ->block_alloc_stats_range * fuse2fs: refactor uid/gid setting * fuse2fs: fix gid inheritance on sgid parent directories * fuse2fs: don't truncate when creating a new file * fuse2fs: fix incorrect EOFS input handling in FITRIM * fuse2fs: fix incorrect unit conversion at the end of FITRIM * fuse2fs: don't try to mount after option parsing errors --- lib/ext2fs/alloc_stats.c | 5 ++ lib/ext2fs/punch.c | 2 - misc/fuse2fs.c | 111 ++++++++++++++++++++++++++++++++-------------- 3 files changed, 83 insertions(+), 35 deletions(-)