commit | c33bd8354f3a3bb26a98d2b6bf600b7b35657328 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Thu Sep 12 15:13:19 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 12 15:38:00 2013 -0700 |
tree | 3a05898992a6bf4475051d9b49ace72f304473cf | |
parent | d5d04bb48f0eb89c14e76779bb46212494de0bec [diff] |
memcg: remove redundant code in mem_cgroup_force_empty_write() vfs guarantees the cgroup won't be destroyed, so it's redundant to get a css reference. Signed-off-by: Li Zefan <lizefan@huawei.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>