mount2: add rdev

This commit is contained in:
chrislu
2022-02-24 14:51:25 -08:00
parent 95717d1006
commit ceaf993a27
7 changed files with 437 additions and 420 deletions

View File

@@ -48,6 +48,7 @@ func EntryAttributeToPb(entry *Entry) *filer_pb.FuseAttributes {
SymlinkTarget: entry.Attr.SymlinkTarget,
Md5: entry.Attr.Md5,
FileSize: entry.Attr.FileSize,
Rdev: entry.Attr.Rdev,
}
}
@@ -74,6 +75,7 @@ func PbToEntryAttribute(attr *filer_pb.FuseAttributes) Attr {
t.SymlinkTarget = attr.SymlinkTarget
t.Md5 = attr.Md5
t.FileSize = attr.FileSize
t.Rdev = attr.Rdev
return t
}