Re: [PATCH 2/2] cpuset: remove redundant checks in file write functions

From: Li Zefan
Date: Mon Aug 12 2013 - 22:07:52 EST


On 2013/8/13 9:17, Li Zefan wrote:
> Now cgroup core gets a reference to the css when a cgroup file is
> opened(), and the reference is dropped at file release. so it's
> guaranteed the cpuset is online during the write function.
>
> Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>
> ---
> kernel/cpuset.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>

Please don't apply this patch. I'll send a new one when the bug
fix I just sent is accepted.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/