2014-06-25 03:30:14

by Chen Hanxiao

[permalink] [raw]
Subject: [PATCH] cgroup: fix a typo in Documentation/cgroups/cgroups.txt

s/iff/if

Signed-off-by: Chen Hanxiao <[email protected]>
---
Documentation/cgroups/cgroups.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt
index 821de56..b614f42 100644
--- a/Documentation/cgroups/cgroups.txt
+++ b/Documentation/cgroups/cgroups.txt
@@ -562,7 +562,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,
--
1.9.0


2014-06-25 03:47:31

by Zefan Li

[permalink] [raw]
Subject: Re: [PATCH] cgroup: fix a typo in Documentation/cgroups/cgroups.txt

On 2014/6/25 11:30, Chen Hanxiao wrote:
> s/iff/if
>

This is not a typo. iff == if and only if.

> Signed-off-by: Chen Hanxiao <[email protected]>
> ---
> Documentation/cgroups/cgroups.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt
> index 821de56..b614f42 100644
> --- a/Documentation/cgroups/cgroups.txt
> +++ b/Documentation/cgroups/cgroups.txt
> @@ -562,7 +562,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,
>

2014-06-25 12:19:48

by Chen Hanxiao

[permalink] [raw]
Subject: RE: [PATCH] cgroup: fix a typo in Documentation/cgroups/cgroups.txt



> -----Original Message-----
> From: Li Zefan [mailto:[email protected]]
> Sent: Wednesday, June 25, 2014 11:44 AM
> On 2014/6/25 11:30, Chen Hanxiao wrote:
> > s/iff/if
> >
>
> This is not a typo. iff == if and only if.
>

I see.
Thanks for teaching.

- Chen

????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?