Skip to contentSkip to conversation

admin-guide: cgroup: fix a typo in description

PATCH In review [email protected] 2 participants 2 messages Aug 26, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 admin-guide: cgroup: fix a typo in description

From: lufengchang <[email protected]>

---
 Documentation/admin-guide/cgroup-v1/cgroups.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/cgroup-v1/cgroups.rst +1 -1
index b0688011ed06..fa747466e304 100644
@@ -573,7 +573,7 @@ cgroup_for_each_descendant_pre() for details.
 ``void css_offline(struct cgroup *cgrp);``
 (cgroup_mutex held by caller)
 
-This is the counterpart of css_online() and called iff css_online()
+This is the counterpart of css_online() and called if css_online()
 has succeeded on @cgrp. This signifies the beginning of the end of
 @cgrp. @cgrp is being removed and the subsystem should start dropping
 all references it's holding on @cgrp. When all references are dropped,
Signature · 1 line
2.25.1
reviewer
#1 lore raw

Hi,

Quoted 4 lines · On 8/25/22 19:05, [email protected] wrote:

From: lufengchang <[email protected]>

Are you sure that it's a typo?

https://en.wikipedia.org/wiki/If_and_only_if

"iff" is commonly used (in math/technical literature) to mean "if and only if".

Quoted 17 lines
---
 Documentation/admin-guide/cgroup-v1/cgroups.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/cgroup-v1/cgroups.rst +1 -1
index b0688011ed06..fa747466e304 100644
@@ -573,7 +573,7 @@ cgroup_for_each_descendant_pre() for details.
 ``void css_offline(struct cgroup *cgrp);``
 (cgroup_mutex held by caller)
 
-This is the counterpart of css_online() and called iff css_online()
+This is the counterpart of css_online() and called if css_online()
 has succeeded on @cgrp. This signifies the beginning of the end of
 @cgrp. @cgrp is being removed and the subsystem should start dropping
 all references it's holding on @cgrp. When all references are dropped,
Signature · 1 line
~Randy