projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d18c265
)
doc/RCU/listRCU: Fix typos in a example code snippets
author
SeongJae Park
<sjpark@amazon.de>
Mon, 6 Jan 2020 20:07:57 +0000
(21:07 +0100)
committer
Paul E. McKenney
<paulmck@kernel.org>
Thu, 27 Feb 2020 15:03:13 +0000
(07:03 -0800)
Signed-off-by: SeongJae Park <sjpark@amazon.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/RCU/listRCU.rst
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/RCU/listRCU.rst
b/Documentation/RCU/listRCU.rst
index 55d2b30db481cc630d814419655425e62b0be5db..e768f56e8fa3264728ed46adb81ae983a24a9a92 100644
(file)
--- a/
Documentation/RCU/listRCU.rst
+++ b/
Documentation/RCU/listRCU.rst
@@
-226,7
+226,7
@@
need to be filled in)::
list_for_each_entry(e, list, list) {
if (!audit_compare_rule(rule, &e->rule)) {
e->rule.action = newaction;
- e->rule.fi
le
_count = newfield_count;
+ e->rule.fi
eld
_count = newfield_count;
write_unlock(&auditsc_lock);
return 0;
}
@@
-255,7
+255,7
@@
RCU (*read-copy update*) its name. The RCU code is as follows::
return -ENOMEM;
audit_copy_rule(&ne->rule, &e->rule);
ne->rule.action = newaction;
- ne->rule.fi
le
_count = newfield_count;
+ ne->rule.fi
eld
_count = newfield_count;
list_replace_rcu(&e->list, &ne->list);
call_rcu(&e->rcu, audit_free_rule);
return 0;