summaryrefslogtreecommitdiff
path: root/lib/btrfsutil/open.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-26 10:47:43 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-27 14:36:19 -0600
commit5b57069df62182b23d5db38180df345fc3c86a85 (patch)
tree6f54d05420f35ee688d5d5ceea349f6f453aaeeb /lib/btrfsutil/open.go
parente2fb576c636f4c88dbb2741d1ad72469d6e6b43d (diff)
Move more things
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