mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 12:14:15 +08:00
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>
This commit is contained in:
parent
e547a66566
commit
f01d9277cb
@ -2208,6 +2208,7 @@ static void do_destroy(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)
|
||||
(void) inarg;
|
||||
|
||||
se->got_destroy = 1;
|
||||
se->got_init = 0;
|
||||
if (se->op.destroy)
|
||||
se->op.destroy(se->userdata);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user