diff options
Diffstat (limited to 'weed/mount/weedfs.go')
| -rw-r--r-- | weed/mount/weedfs.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go index a36e4dc97..1e9f07df9 100644 --- a/weed/mount/weedfs.go +++ b/weed/mount/weedfs.go @@ -60,6 +60,7 @@ type WFS struct { root Directory signature int32 inodeToPath *InodeToPath + fhmap *FileHandleToInode } func NewSeaweedFileSystem(option *Option) *WFS { @@ -68,6 +69,7 @@ func NewSeaweedFileSystem(option *Option) *WFS { option: option, signature: util.RandomInt32(), inodeToPath: NewInodeToPath(), + fhmap: NewFileHandleToInode(), } wfs.root = Directory{ |
