summaryrefslogtreecommitdiff
path: root/lib/btrfsutil/open.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-24 21:49:26 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-28 12:38:10 -0600
commitf6f0a251ed962374f69e9fd7722dcd5c44aa58ad (patch)
treed5e8802ad7b62f5222d3d88a0c592ff6cbb6b4ba /lib/btrfsutil/open.go
parent8a8f276d2c0113fc93a77d77213665a5fb112b20 (diff)
containers: Rethink the caching libraries
Diffstat (limited to 'lib/btrfsutil/open.go')
-rw-r--r--lib/btrfsutil/open.go1
1 files changed, 1 insertions, 0 deletions
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