On Fri Nov 22 21:06:34 2024 +0000, Gabriel Ivăncescu wrote:
@iamahuman Thanks for the review, I believe I've done it right now, let me know if you have further comments/corner cases.
Thanks. By "is_same_file_by_path", do you mean "is_same_dentry"? A file can have multiple paths (due to symlinks) as well as realpaths (due to mountpoints). I think you're talking about dentry, not path. For example, if there are two hardlinks with different names that refer to the same file, they are two different *dentries (directory entries)* referencing the same *inode*.