reset got_init after handling FUSE_DESTROY message (#910)
authorlegezywzh <94814730+legezywzh@users.noreply.github.com>
Thu, 21 Mar 2024 09:02:05 +0000 (17:02 +0800)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2024 09:02:05 +0000 (10:02 +0100)
commitf01d9277cb6faface1d8b048db4eddb71b2f5d78
tree5d7ee31eca50d5c1a02dd0491a53f4288eb6387d
parente547a66566900f6b17bc9515beb60a304aef6466
reset got_init after handling FUSE_DESTROY message (#910)

User may still need to mount same fuse filesystem after umounting
it(In this case, the userspace filesystem server needs to keep live),
and after handling FUSE_DESTROY message, new FUSE_INIT message may come,
so need to reset got_init to be zero.

Signed-off-by: Xiaoguang Wang <lege.wang@jaguarmicro.com>
lib/fuse_lowlevel.c