removed async option

This commit is contained in:
Chris Lu
2020-06-28 10:18:32 -07:00
parent 1bb8cae65d
commit 9033a7d369
8 changed files with 40 additions and 98 deletions

View File

@@ -278,9 +278,7 @@ func (file *File) saveEntry() error {
return fuse.EIO
}
if file.wfs.option.AsyncMetaDataCaching {
file.wfs.metaCache.UpdateEntry(context.Background(), filer2.FromPbEntry(request.Directory, request.Entry))
}
file.wfs.metaCache.UpdateEntry(context.Background(), filer2.FromPbEntry(request.Directory, request.Entry))
return nil
})