Skip to content

Commit

Permalink
Illumos openzfs#2618 arc.c mistypes in the comments
Browse files Browse the repository at this point in the history
2618 arc.c mistypes in the comments

Reviewed by: Jason King <[email protected]>
Reviewed by: Josef Sipek <[email protected]>
Approved by: Richard Lowe <[email protected]>

References:
  illumos/illumos-gate@fc98fea
  illumos changeset: 13721:5b51a16a186f
  https://www.illumos.org/issues/2618

Ported-by: Brian Behlendorf <[email protected]>
  • Loading branch information
bcoddens authored and unya committed Dec 13, 2013
1 parent 7d22b71 commit 5d47977
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/zfs/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
* types of locks: 1) the hash table lock array, and 2) the
* arc list locks.
*
* Buffers do not have their own mutexs, rather they rely on the
* hash table mutexs for the bulk of their protection (i.e. most
* fields in the arc_buf_hdr_t are protected by these mutexs).
* Buffers do not have their own mutexes, rather they rely on the
* hash table mutexes for the bulk of their protection (i.e. most
* fields in the arc_buf_hdr_t are protected by these mutexes).
*
* buf_hash_find() returns the appropriate mutex (held) when it
* locates the requested buffer in the hash table. It returns
Expand Down Expand Up @@ -2893,7 +2893,7 @@ arc_read_done(zio_t *zio)
}

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

0 comments on commit 5d47977

Please sign in to comment.