• Odin Ugedal's avatar
    Fix closing of dirs in doSafeMakeDir · d1796500
    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.
    d1796500
Name
Last commit
Last update
..
exec Loading commit data...
fs Loading commit data...
nestedpendingoperations Loading commit data...
nsenter Loading commit data...
operationexecutor Loading commit data...
quota 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...