• Odin Ugedal's avatar
    Fix closing of dirs in doSafeMakeDir · 5f7e5406
    Odin Ugedal authored
    This fixes the issue where "childFD" from syscall.Openat is assigned to
    a local variable inside the for loop, instead of the correct one in the
    function scope. This results in that when trying to close the "childFD"
    in the function scope, it will be equal to "-1", instead of the correct
    value.
    5f7e5406
Name
Last commit
Last update
..
fs Loading commit data...
nestedpendingoperations Loading commit data...
operationexecutor Loading commit data...
recyclerclient Loading commit data...
subpath Loading commit data...
types Loading commit data...
volumepathhandler Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
atomic_writer.go Loading commit data...
atomic_writer_test.go Loading commit data...
attach_limit.go Loading commit data...
attach_limit_test.go Loading commit data...
device_util.go Loading commit data...
device_util_linux.go Loading commit data...
device_util_linux_test.go Loading commit data...
device_util_unsupported.go Loading commit data...
doc.go Loading commit data...
finalizer.go Loading commit data...
io_util.go Loading commit data...
metrics.go Loading commit data...
nested_volumes.go Loading commit data...
nested_volumes_test.go Loading commit data...
resize_util.go Loading commit data...
resize_util_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...