diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-30 19:08:25 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-30 19:08:25 -0600 |
commit | 5d0bd02aefed7e08f3afddf20066605149cb0b87 (patch) | |
tree | a1c8b09c01b761c4b294a701c091bb047a100397 /cmd/btrfs-rec/inspect_mount.go | |
parent | 3d5e080385ed64ca5e0810263acc2d9970f14baa (diff) | |
parent | 8c2de0e63ac106b910173ed17f394b725103596f (diff) |
Merge branch 'lukeshu/tree-api-pt4-touchup'
Diffstat (limited to 'cmd/btrfs-rec/inspect_mount.go')
-rw-r--r-- | cmd/btrfs-rec/inspect_mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect_mount.go b/cmd/btrfs-rec/inspect_mount.go index 4582f9f..54cfebf 100644 --- a/cmd/btrfs-rec/inspect_mount.go +++ b/cmd/btrfs-rec/inspect_mount.go @@ -18,7 +18,7 @@ func init() { Use: "mount MOUNTPOINT", Short: "Mount the filesystem read-only", Args: cliutil.WrapPositionalArgs(cobra.ExactArgs(1)), - RunE: runWithRawFS(func(fs *btrfs.FS, cmd *cobra.Command, args []string) error { + RunE: runWithReadableFS(func(fs btrfs.ReadableFS, cmd *cobra.Command, args []string) error { return mount.MountRO(cmd.Context(), fs, args[0], skipFileSums) }), } |