Just want to comment on ece9ce9, I spoke to @theorywrong and he also commented about removing that unmount block all together, and I'm more than happy to recommit that code to do so, if that was the final consensus.
finally, overlayfs.c Line 260, for most of my test I unmount the mod directory when ./dev is deleted, as it's a good indiction the game is getting unmounted, however, I also want to test how the code behaves if left unchanged (but due to time shortage I haven't yet, it seemed to have fixed my initial kpanics, and due to lack of time I stuck with it none the less, however, I avoided committing the code for a potentially unnecessary change, but its something to keep an eye on (I will however test it once I get the chance to do so))
Just want to comment on ece9ce9, I spoke to @theorywrong and he also commented about removing that unmount block all together, and I'm more than happy to recommit that code to do so, if that was the final consensus.
finally, overlayfs.c Line 260, for most of my test I unmount the mod directory when
./dev
is deleted, as it's a good indiction the game is getting unmounted, however, I also want to test how the code behaves if left unchanged (but due to time shortage I haven't yet, it seemed to have fixed my initial kpanics, and due to lack of time I stuck with it none the less, however, I avoided committing the code for a potentially unnecessary change, but its something to keep an eye on (I will however test it once I get the chance to do so))