summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-13 22:38:09 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-13 22:38:09 -0600
commit5b52a894d5e0a24907ac5073841b5a0bebbd2247 (patch)
tree32d86c2909330597601f062ce27fdd419133e25d /lib
parentdb7047c394edbcc713accda2a15f201a5b400ef7 (diff)
fix typo in a comment
Diffstat (limited to 'lib')
-rw-r--r--lib/btrfs/io4_fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfs/io4_fs.go b/lib/btrfs/io4_fs.go
index b2a2ee1..ad489c7 100644
--- a/lib/btrfs/io4_fs.go
+++ b/lib/btrfs/io4_fs.go
@@ -348,7 +348,7 @@ func (ret *File) populate() {
}
func (file *File) ReadAt(dat []byte, off int64) (int, error) {
- // These stateles maybe-short-reads each do an O(n) extent
+ // These stateless maybe-short-reads each do an O(n) extent
// lookup, so reading a file is O(n^2), but we expect n to be
// small, so whatev. Turn file.Extents it in to an rbtree if
// it becomes a problem.