This is kinda a mess. Anyway it seems to work when I call "findIndexNode" after writing the new inode, otherwise it forgets that it was assigned an inode and remains -1. I'll try to figure out what's happening later
I can understand if you don't want to read through all the code because it's really long, but if you have any ideas let me know.
This is kinda a mess. Anyway it seems to work when I call "findIndexNode" after writing the new inode, otherwise it forgets that it was assigned an inode and remains -1. I'll try to figure out what's happening later
I can understand if you don't want to read through all the code because it's really long, but if you have any ideas let me know.