Re: [PATCH] memcg: clean up checking of the disabled flag

From: KAMEZAWA Hiroyuki
Date: Thu Jun 05 2008 - 21:55:40 EST


On Fri, 06 Jun 2008 09:39:41 +0800
Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:

> Those checks are unnecessary, because when the subsystem is disabled
> it can't be mounted, so those functions won't get called.
>
> The check is needed in functions which will be called in other places
> except cgroup.
>
Good catch!

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>


--
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/