• Han-Wen Nienhuys's avatar
    nodefs: use {Gen, Ino} as file ID · 48be1a10
    Han-Wen Nienhuys authored
    This lets filesystems control Generation produced. It also unifies
    OpaqueID (used for implementors) NodeID (used for kernel comms) and
    the Ino field (reported in Stat/Lstat calls).
    
    For loopback, there is a minor inconvenience, which is that the file
    is determined by (Dev, Ino). Get around this by xoring Dev and Ino.
    48be1a10
inode.go 13 KB