Revert "filer: support uploading file without needEnsureParentDir"

This reverts commit a93c4947ba.
This commit is contained in:
zzq09494
2022-03-17 10:27:17 +08:00
parent a93c4947ba
commit a6a8892255
7 changed files with 13 additions and 19 deletions

View File

@@ -173,7 +173,7 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, stream filer_pb.Seawee
Remote: entry.Remote,
Quota: entry.Quota,
}
if createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, signatures,true); createErr != nil {
if createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, signatures); createErr != nil {
return createErr
}
if stream != nil {