]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - Documentation/RCU/rculist_nulls.txt
trivial: Miscellaneous documentation typo fixes
[mirror_ubuntu-bionic-kernel.git] / Documentation / RCU / rculist_nulls.txt
index 239f542d48baa9425f29a54b6b43f00468d986c2..93cb28d05dcd92da30dde47ec58205e2b0851022 100644 (file)
@@ -21,7 +21,7 @@ if (obj) {
   /*
    * Because a writer could delete object, and a writer could
    * reuse these object before the RCU grace period, we
-   * must check key after geting the reference on object
+   * must check key after getting the reference on object
    */
   if (obj->key != key) { // not the object we expected
      put_ref(obj);
@@ -117,8 +117,8 @@ a race (some writer did a delete and/or a move of an object
 to another chain) checking the final 'nulls' value if
 the lookup met the end of chain. If final 'nulls' value
 is not the slot number, then we must restart the lookup at
-the begining. If the object was moved to same chain,
-then the reader doesnt care : It might eventually
+the beginning. If the object was moved to the same chain,
+then the reader doesn't care : It might eventually
 scan the list again without harm.