libfuse: have passthrough_hp return an error with invalid mount options
authorJosef Bacik <josef@toxicpanda.com>
Fri, 7 Jun 2024 18:49:10 +0000 (14:49 -0400)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Fri, 7 Jun 2024 19:33:04 +0000 (21:33 +0200)
commitc9204dbd0d70c79f926a2bc2bfdbb4629cdb303d
treee97a1bce6cffb07a76d45720c3c06c94e4aaa921
parent2105cd7724a714a874eb991f37f1ffdbed3256bd
libfuse: have passthrough_hp return an error with invalid mount options

generic/003 fails currently because if you specify -o relatime we will
fail to mount, but not return an error, so the test thinks that we
support relatime and then hilarity ensues.  Set ret so that if we get
any failures while trying to mount we will properly error out.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
example/passthrough_hp.cc