fix useless fuse_init_intr_signal in high-level api
authoryangyun <yangyun50@huawei.com>
Tue, 4 Jun 2024 12:57:14 +0000 (20:57 +0800)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Tue, 11 Jun 2024 07:47:31 +0000 (09:47 +0200)
commit8bd873cbcc6037655c0a6cf2f63fe1f8f13c5a5e
tree0ba33ad1a6342e1f70fb69fc7d022cb7581c8863
parentc9204dbd0d70c79f926a2bc2bfdbb4629cdb303d
fix useless fuse_init_intr_signal in high-level api

The code `fuse_init_intr_signal` in `_fuse_new_317` is useless
since commit 8ee553dac ("fuse_new(): don't accept options that
don't make sense for end-users") has remove the conf.intr option
for end-users. The conf.intr is always zero (i.e., disabled) here.

Move `fuse_init_intr_signal` after the user-defined `init()` function,
so that conf.intr and conf.intr_signal has been configured by the user.
lib/fuse.c