diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-08-23 15:48:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-08-23 15:48:02 -0700 |
| commit | aee27ccbe131578b8627022165d17a972153f0a0 (patch) | |
| tree | 196e2fd4ecc191197c6c3b56e2466a547ff85283 /weed/filesys/dir.go | |
| parent | c19245886c39fcc7f25db5d3963e7cbe40fa786f (diff) | |
| download | seaweedfs-aee27ccbe131578b8627022165d17a972153f0a0.tar.xz seaweedfs-aee27ccbe131578b8627022165d17a972153f0a0.zip | |
multiple fixes
* adjust isOpen count
* move ContinuousDirtyPages lock to filehandle
* fix problem with MergeIntoVisibles, avoid reusing slices
* let filer delete the garbage
Diffstat (limited to 'weed/filesys/dir.go')
| -rw-r--r-- | weed/filesys/dir.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index 46f5f22ed..f20e67df1 100644 --- a/weed/filesys/dir.go +++ b/weed/filesys/dir.go @@ -168,7 +168,6 @@ func (dir *Dir) Create(ctx context.Context, req *fuse.CreateRequest, node = dir.newFile(req.Name, request.Entry) file := node.(*File) - file.isOpen++ fh := dir.wfs.AcquireHandle(file, req.Uid, req.Gid) return file, fh, nil |
