wusong
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
weed/mount/weedfs_file_mkrm.go
|
|
@ -3,12 +3,13 @@ package mount |
|
|
|
import ( |
|
|
|
"context" |
|
|
|
"fmt" |
|
|
|
"syscall" |
|
|
|
"time" |
|
|
|
|
|
|
|
"github.com/hanwen/go-fuse/v2/fuse" |
|
|
|
"github.com/seaweedfs/seaweedfs/weed/filer" |
|
|
|
"github.com/seaweedfs/seaweedfs/weed/glog" |
|
|
|
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" |
|
|
|
"syscall" |
|
|
|
"time" |
|
|
|
) |
|
|
|
|
|
|
|
/** |
|
|
@ -144,7 +145,6 @@ func (wfs *WFS) Unlink(cancel <-chan struct{}, header *fuse.InHeader, name strin |
|
|
|
return fuse.EIO |
|
|
|
} |
|
|
|
|
|
|
|
wfs.metaCache.DeleteEntry(context.Background(), entryFullPath) |
|
|
|
wfs.inodeToPath.RemovePath(entryFullPath) |
|
|
|
|
|
|
|
return fuse.OK |
|
|
|