mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-08 16:14:19 +01:00
[ port from runtime commit 7b269ff7aa2d62fe12593ff7040798e6c9bd5d65 ] If we take one of the error paths from setupVirtiofsd() after opening the fd variable, the fd.Close() function is not called. Signed-off-by: Christophe de Dinechin <dinechin@redhat.com> Signed-off-by: Peng Tao <bergwolf@hyper.sh>