From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCH 1/9] cgroup: minor updates around cgroup_clear_directory() Date: Thu, 11 Jul 2013 14:42:34 +0800 Message-ID: <51DE53DA.5000407@huawei.com> References: <1372463145-4245-1-git-send-email-tj@kernel.org> <1372463145-4245-2-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372463145-4245-2-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org On 2013/6/29 7:45, Tejun Heo wrote: > * Rename it to cgroup_clear_dir() and make it take the pointer to the > target cgroup instead of the the dentry. This makes the function > consistent with its counterpart - cgroup_populate_dir(). > > * Move cgroup_clear_directory() invocation from cgroup_d_remove_dir() > to cgroup_remount() so that the function doesn't have to determine > the cgroup pointer back from the dentry. cgroup_d_remove_dir() now > only deals with vfs, which is slightly cleaner. > > This patch doesn't introduce any functional differences. > > Signed-off-by: Tejun Heo Acked-by: Li Zefan