diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-24 14:51:25 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-24 14:51:25 -0800 |
| commit | ceaf993a271dde56c3ce2d8c9f6c448acb946773 (patch) | |
| tree | a79466c1a28d1f3194771133d8348a57d6251804 /weed/filer/entry_codec.go | |
| parent | 95717d10069d2f01620858570635c41f59513b98 (diff) | |
| download | seaweedfs-ceaf993a271dde56c3ce2d8c9f6c448acb946773.tar.xz seaweedfs-ceaf993a271dde56c3ce2d8c9f6c448acb946773.zip | |
mount2: add rdev
Diffstat (limited to 'weed/filer/entry_codec.go')
| -rw-r--r-- | weed/filer/entry_codec.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/filer/entry_codec.go b/weed/filer/entry_codec.go index 0a917bea9..ddbb5b08c 100644 --- a/weed/filer/entry_codec.go +++ b/weed/filer/entry_codec.go @@ -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 } |
