Aaron Jacobs 2015-07-27 13:29:29 +10:00
parent 41dd5f04f5
commit a4ffa71f0b
2 changed files with 2 additions and 2 deletions

View File

@ -472,7 +472,7 @@ func convertAttributes(
out.Mtime, out.MtimeNsec = convertTime(in.Mtime) out.Mtime, out.MtimeNsec = convertTime(in.Mtime)
out.Ctime, out.CtimeNsec = convertTime(in.Ctime) out.Ctime, out.CtimeNsec = convertTime(in.Ctime)
out.SetCrtime(convertTime(in.Crtime)) out.SetCrtime(convertTime(in.Crtime))
out.Nlink = uint32(in.Nlink) // TODO(jacobsa): Make the public field uint32? out.Nlink = in.Nlink
out.Uid = in.Uid out.Uid = in.Uid
out.Gid = in.Gid out.Gid = in.Gid

View File

@ -61,7 +61,7 @@ type InodeAttributes struct {
Size uint64 Size uint64
// The number of incoming hard links to this inode. // The number of incoming hard links to this inode.
Nlink uint64 Nlink uint32
// The mode of the inode. This is exposed to the user in e.g. the result of // The mode of the inode. This is exposed to the user in e.g. the result of
// fstat(2). // fstat(2).