From f6f0a251ed962374f69e9fd7722dcd5c44aa58ad Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 24 Mar 2023 21:49:26 -0600 Subject: containers: Rethink the caching libraries --- lib/btrfsutil/open.go | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/btrfsutil/open.go') diff --git a/lib/btrfsutil/open.go b/lib/btrfsutil/open.go index c5ee314..abbd466 100644 --- a/lib/btrfsutil/open.go +++ b/lib/btrfsutil/open.go @@ -30,6 +30,7 @@ func Open(ctx context.Context, flag int, filenames ...string) (*btrfs.FS, error) File: osFile, } bufFile := diskio.NewBufferedFile[btrfsvol.PhysicalAddr]( + ctx, typedFile, //nolint:gomnd // False positive: gomnd.ignored-functions=[textui.Tunable] doesn't support type params. textui.Tunable[btrfsvol.PhysicalAddr](16*1024), // block size: 16KiB -- cgit v1.2.3-2-g168b