storage/pkg/loopback
Kir Kolyshkin 8395a8b205 Fix and annotate Stat_t fields conversion
For struct Stat_t in syscall pkg:
 - Ino is always uint64;
 - Dev/Rdev can be uint64, uint32, or int32;
 - Nlink might be uint64, uint32, or uint16.

Fix the code accordingly, adding or removing typecasts where needed,
and annotating those with //nolint:unconvert to calm down the unconvert
linter.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2025-04-01 16:18:55 -07:00
..
attach_loopback.go Fix and annotate Stat_t fields conversion 2025-04-01 16:18:55 -07:00
attach_test.go loop: remove cgo dependency 2024-12-19 10:49:38 +01:00
ioctl.go loop: remove cgo dependency 2024-12-19 10:49:38 +01:00
loop_wrapper.go loop: remove hardcoded constants 2025-03-06 11:19:58 +01:00
loopback.go Fix and annotate Stat_t fields conversion 2025-04-01 16:18:55 -07:00
loopback_unsupported.go Disable cgo-requiring bits when cgo is not enabled 2019-08-05 13:42:50 -04:00