diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-05-12 22:42:28 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-05-12 22:42:28 -0700 |
| commit | fc7f81f6e7b596ad4f1246a727408f4cbdaa8f88 (patch) | |
| tree | c7d4e6dd9557b0f68b1263e0aadae32b939ae13a /weed/filer2/filer_structure.go | |
| parent | 9ecbf92569911abc6d95bc86e133326845b6b005 (diff) | |
| download | seaweedfs-fc7f81f6e7b596ad4f1246a727408f4cbdaa8f88.tar.xz seaweedfs-fc7f81f6e7b596ad4f1246a727408f4cbdaa8f88.zip | |
remove nlink property from directory node
Diffstat (limited to 'weed/filer2/filer_structure.go')
| -rw-r--r-- | weed/filer2/filer_structure.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/filer2/filer_structure.go b/weed/filer2/filer_structure.go index 2aa3d44d2..c78704184 100644 --- a/weed/filer2/filer_structure.go +++ b/weed/filer2/filer_structure.go @@ -28,7 +28,6 @@ type Attr struct { Uid uint32 // owner uid Gid uint32 // group gid Size uint64 // total size in bytes - Nlink uint32 // number of links (usually 1) } type Entry struct { @@ -60,7 +59,6 @@ var ErrNotFound = errors.New("filer: no entry is found in filer store") type FilerStore interface { InsertEntry(*Entry) (error) - AddDirectoryLink(directory *Entry, delta int32) (err error) AppendFileChunk(FullPath, FileChunk) (err error) FindEntry(FullPath) (found bool, entry *Entry, err error) DeleteEntry(FullPath) (fileEntry *Entry, err error) |
