• Han-Wen Nienhuys's avatar
    nodefs: use {Gen, Ino} as file ID · 74afa852
    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.
    74afa852
loopback.go 5.44 KB