summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect_listnodes.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-07-25 12:55:44 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-07-25 12:55:44 -0600
commitb3ef47542802ecd06498a2fc3a87ce26f7bc1e98 (patch)
tree7345d8fb1b1d6b0221b6fac81e8c5c96cb6ed4d4 /cmd/btrfs-rec/inspect_listnodes.go
parentc57cc3d4739ffa0346350c63fb4ec59a63b56e46 (diff)
parentb581d0ceb3cd0fee2e78c677bb0805cc68115661 (diff)
Merge branch 'lukeshu/process-without-pv'
Diffstat (limited to 'cmd/btrfs-rec/inspect_listnodes.go')
-rw-r--r--cmd/btrfs-rec/inspect_listnodes.go2
1 files changed, 1 insertions, 1 deletions
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)