Hi, Quoth remph <l...@disroot.org>: > +struct device { > + dev_t devno; > + void * inodetree; > +}; > +
I can see that you define a device struct, that contains a inode table, but I think it is just easier to create a struct like: struct file { dev_t dev; ino_t inode; }; and adjust the compare function to use both fields. Am I missing something? Regards,