microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
564 stars 253 forks source link

fix: error shadowing removing read-write mount tracking #2208

Closed anmaxvl closed 1 month ago

anmaxvl commented 1 month ago

When filesystem mount fails, we attempt to cleanup read-write mount tracking. However, the return error is being shadowed and RemoveRWDevice is never called.