Confine cleanup and use held session locks
This commit is contained in:
@@ -4,6 +4,7 @@ package fileops
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
@@ -14,3 +15,7 @@ func checkAtomicDirectoryPromotionSupport() error {
|
||||
func renameDirectoryNoReplace(_, _ string) error {
|
||||
return checkAtomicDirectoryPromotionSupport()
|
||||
}
|
||||
|
||||
func renameDirectoryNoReplaceAt(_ *os.File, _, _ string) error {
|
||||
return checkAtomicDirectoryPromotionSupport()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user