]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: decode fuse_main error codes
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 May 2025 22:40:23 +0000 (15:40 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 23 May 2025 13:41:20 +0000 (09:41 -0400)
commitce89945a5d8627b8d1ec1863ee4d5de1b5364e7d
tree30bc1a08023f27616a9c20350f4b59059a4c5204
parent9f69dfc4e275ccc06605111fa5ee7b781b627e60
fuse2fs: decode fuse_main error codes

Translate the fuse_main return values into actual mount(8) style error
codes instead of returning 0 all the time, and print something to the
original stderr if something went wrong so that the user will know what
to do next.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/174786677923.1383760.3429767121128890204.stgit@frogsfrogsfrogs
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c