• Max Kellermann's avatar
    storage/FileInfo, db/simple/Directory: use 64 bit for device/inode · 504f5f7b
    Max Kellermann authored
    An ino_t is usually a 64 bit integer, and some file systems (such as
    Linux's kernel NFS client) really uses the upper 32 bit.  This can
    lead to false positives in the directory loop detection in
    FindAncestorLoop().  Increasing these two attributes (in
    StorageFileInfo and Directory) to 64 bit adds little overhead, but
    makes the check a lot safer.
    504f5f7b
FileInfo.hxx 1.45 KB