From cbb2379d822bf391e4f9d1ed7dab8fca0aa85c6d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Jul 2023 21:18:40 -0600 Subject: wip: rebuildmappings process: Don't require --pv --- cmd/btrfs-rec/inspect_listnodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/btrfs-rec/inspect_listnodes.go') diff --git a/cmd/btrfs-rec/inspect_listnodes.go b/cmd/btrfs-rec/inspect_listnodes.go index d9b24ed..eb088e8 100644 --- a/cmd/btrfs-rec/inspect_listnodes.go +++ b/cmd/btrfs-rec/inspect_listnodes.go @@ -28,7 +28,7 @@ func init() { "to take advantage of the sector-by-sector scan that's already " + "performed by `btrfs-rec inspect rebuild-mappings scan`.", Args: cliutil.WrapPositionalArgs(cobra.ExactArgs(1)), - RunE: runWithRawFS(func(fs *btrfs.FS, cmd *cobra.Command, args []string) error { + RunE: runWithRawFS(nil, func(fs *btrfs.FS, cmd *cobra.Command, args []string) error { ctx := cmd.Context() nodeList, err := btrfsutil.ListNodes(ctx, fs) -- cgit v1.2.3-2-g168b