[PATCH] datastruct: Fix code citation typos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>
---
 datastruct/datastruct.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
index da735ae..4807223 100644
--- a/datastruct/datastruct.tex
+++ b/datastruct/datastruct.tex
@@ -1089,7 +1089,7 @@ may be freed.
 
 The \co{->ht_idx} field on line~16 indicates which of the two sets of
 list pointers are being used by this instantiation of the hash table,
-and is used to index the \co{->hte_next[]} array in the \co{ht_bucket}
+and is used to index the \co{->hte_next[]} array in the \co{ht_elem}
 structure on line~3.
 
 The \co{->ht_hash_private}, \co{->ht_cmp()}, \co{->ht_gethash()},
@@ -1543,7 +1543,7 @@ Otherwise, line~19 picks up a reference to the current hash table,
 and lines~21-24 allocate a new hash table of the desired size.
 If a new set of hash/key functions have been specified, these are
 used for the new table, otherwise those of the old table are preserved.
-If line~25 detects memory-allocation failure, line~26 releases \co{->htlock}
+If line~25 detects memory-allocation failure, line~26 releases \co{->ht_lock}
 and line~27 returns a failure indication.
 
 Line~29 starts the bucket-distribution process by installing a reference
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux