summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect_listnodes.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-07-22 21:18:40 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-07-23 00:53:05 -0600
commitcbb2379d822bf391e4f9d1ed7dab8fca0aa85c6d (patch)
treeede006affa164dd50ff9c21c7632ec691abf6640 /cmd/btrfs-rec/inspect_listnodes.go
parent17a9ea959d2f77b1ba55d45ac3feaf918f42f7dd (diff)
wip: rebuildmappings process: Don't require --pvlukeshu/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)