Skip to content

Commit 5c83989

Browse files
bcoddensbehlendorf
authored andcommitted
Illumos #2618 arc.c mistypes in the comments
2618 arc.c mistypes in the comments Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Approved by: Richard Lowe <richlowe@richlowe.net> References: illumos/illumos-gate@fc98fea illumos changeset: 13721:5b51a16a186f https://www.illumos.org/issues/2618 Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
1 parent e191b54 commit 5c83989

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

module/zfs/arc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
* types of locks: 1) the hash table lock array, and 2) the
8181
* arc list locks.
8282
*
83-
* Buffers do not have their own mutexs, rather they rely on the
84-
* hash table mutexs for the bulk of their protection (i.e. most
85-
* fields in the arc_buf_hdr_t are protected by these mutexs).
83+
* Buffers do not have their own mutexes, rather they rely on the
84+
* hash table mutexes for the bulk of their protection (i.e. most
85+
* fields in the arc_buf_hdr_t are protected by these mutexes).
8686
*
8787
* buf_hash_find() returns the appropriate mutex (held) when it
8888
* locates the requested buffer in the hash table. It returns
@@ -2890,7 +2890,7 @@ arc_read_done(zio_t *zio)
28902890
}
28912891

28922892
/*
2893-
* "Read" the block block at the specified DVA (in bp) via the
2893+
* "Read" the block at the specified DVA (in bp) via the
28942894
* cache. If the block is found in the cache, invoke the provided
28952895
* callback immediately and return. Note that the `zio' parameter
28962896
* in the callback will be NULL in this case, since no IO was

0 commit comments

Comments
 (0)