diff options
author | Bernd Schubert <bschubert@ddn.com> | 2025-05-17 23:52:47 +0200 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-05-20 18:14:44 +0200 |
commit | eadd6a5454373c7c404463c81be652275da5e07b (patch) | |
tree | 9bc0a6a0849dc153b17b5c614855b00d87357c16 /lib/fuse_i.h | |
parent | 65b388f0d6b414253a5804a9bbd36040a2158045 (diff) | |
download | libfuse-eadd6a5454373c7c404463c81be652275da5e07b.tar.gz |
Make conn->want/want_ext conversion non fatal
there are too many issues with conn->want and conn->want_ext
conversion, for now just log a warning, but setting both
flags is now not fatal anymore.
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r-- | lib/fuse_i.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h index 23e58ef..14d99ad 100644 --- a/lib/fuse_i.h +++ b/lib/fuse_i.h @@ -268,11 +268,8 @@ static inline int convert_to_conn_want_ext(struct fuse_conn_info *conn, */ if (conn->want != want_default && fuse_lower_32_bits(conn->want_ext) != conn->want) { - if (conn->want_ext != want_ext_default) { - fuse_log(FUSE_LOG_ERR, - "fuse: both 'want' and 'want_ext' are set\n"); + if (conn->want_ext != want_ext_default) return -EINVAL; - } /* high bits from want_ext, low bits from want */ conn->want_ext = fuse_higher_32_bits(conn->want_ext) | |