summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/btrfsprogs/btrfsinspect/rebuildnodes/rebuild.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/rebuildnodes/rebuild.go b/lib/btrfsprogs/btrfsinspect/rebuildnodes/rebuild.go
index e441abd..e0ca7a0 100644
--- a/lib/btrfsprogs/btrfsinspect/rebuildnodes/rebuild.go
+++ b/lib/btrfsprogs/btrfsinspect/rebuildnodes/rebuild.go
@@ -590,8 +590,8 @@ func (o *rebuilder) wantFileExt(ctx context.Context, treeID btrfsprim.ObjID, ino
continue
}
itemEnd := itemBeg + itemSize
- // We're being and "wanting" any extent that has any overlap with the
- // gap. But maybe instead we sould only want extents that are
+ // We're being greedy and "wanting" any extent that has any overlap with
+ // the gap. But maybe instead we sould only want extents that are
// *entirely* within the gap. I'll have to run it on real filesystems
// to see what works better.
//