Refactor layout to go-style, update deps

This commit is contained in:
eleksir
2024-10-21 19:47:11 +03:00
parent 27f79905f4
commit 0264e675a4
338 changed files with 8007 additions and 12808 deletions

View File

@@ -231,8 +231,3 @@ func IoctlLoopGetStatus64(fd int) (*LoopInfo64, error) {
func IoctlLoopSetStatus64(fd int, value *LoopInfo64) error {
return ioctlPtr(fd, LOOP_SET_STATUS64, unsafe.Pointer(value))
}
// IoctlLoopConfigure configures all loop device parameters in a single step
func IoctlLoopConfigure(fd int, value *LoopConfig) error {
return ioctlPtr(fd, LOOP_CONFIGURE, unsafe.Pointer(value))
}