From ccec1e6e4cfb3e106c7fccafdf5ccf41f8315a7a Mon Sep 17 00:00:00 2001 From: Alexandru Matei Date: Tue, 13 Feb 2024 08:48:09 +0200 Subject: [PATCH] Remove internal LoopConfig struct The struct is now part of golang.org/x/sys. Follow-up for #9805 Signed-off-by: Alexandru Matei --- core/mount/losetup_linux.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/mount/losetup_linux.go b/core/mount/losetup_linux.go index bc82700a3..a08db7a3a 100644 --- a/core/mount/losetup_linux.go +++ b/core/mount/losetup_linux.go @@ -35,13 +35,6 @@ const ( ebusyString = "device or resource busy" ) -type LoopConfig struct { - Fd uint32 - BlockSize uint32 - Info unix.LoopInfo64 - Reserved [8]uint64 -} - // LoopParams parameters to control loop device setup type LoopParams struct { // Loop device should forbid write