cberner / fuser

Filesystem in Userspace (FUSE) for Rust
MIT License
835 stars 114 forks source link

panic!() in Filesystem::init() will hang the FS stack #271

Open cfstras opened 10 months ago

cfstras commented 10 months ago

I've discovered this by mistake, by having an unwrap() fail in my implementation of init().

As soon as this happens, some bad things occur:

Workaround: Don't do any work that can panic!() in main?