There's no way to return an error from the op_init function and have
libfuse tear down the mount, aside from calling fuse_session_exit and
aborting the program. Even that's not useful, because libfuse has
already daemonized us at that point, so the error messages are screamed
into a void.
Move the code that clears the VALID_FS bit to main() so that we can
abort the mount with a useful error message if that write fails.
Cc: <linux-ext4@vger.kernel.org> # v1.43 Fixes: 81cbf1ef4f5dab ("misc: add fuse2fs, a FUSE server for e2fsprogs") Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>