mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix building on linux
This commit is contained in:
parent
b9c2bff931
commit
4244ef8b72
|
@ -134,7 +134,6 @@ func (wfs *WFS) setAttrByFilerEntry(out *fuse.Attr, inode uint64, entry *filer.E
|
||||||
out.Atime = uint64(entry.Attr.Mtime.Unix())
|
out.Atime = uint64(entry.Attr.Mtime.Unix())
|
||||||
out.Mtime = uint64(entry.Attr.Mtime.Unix())
|
out.Mtime = uint64(entry.Attr.Mtime.Unix())
|
||||||
out.Ctime = uint64(entry.Attr.Mtime.Unix())
|
out.Ctime = uint64(entry.Attr.Mtime.Unix())
|
||||||
out.Crtime_ = uint64(entry.Attr.Crtime.Unix())
|
|
||||||
out.Mode = toSystemMode(entry.Attr.Mode)
|
out.Mode = toSystemMode(entry.Attr.Mode)
|
||||||
if entry.HardLinkCounter > 0 {
|
if entry.HardLinkCounter > 0 {
|
||||||
out.Nlink = uint32(entry.HardLinkCounter)
|
out.Nlink = uint32(entry.HardLinkCounter)
|
||||||
|
|
Loading…
Reference in a new issue