Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760288AbbKTVNO (ORCPT ); Fri, 20 Nov 2015 16:13:14 -0500 Received: from mail-yk0-f169.google.com ([209.85.160.169]:33774 "EHLO mail-yk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757174AbbKTVNM (ORCPT ); Fri, 20 Nov 2015 16:13:12 -0500 Date: Fri, 20 Nov 2015 16:12:54 -0500 From: Tejun Heo To: Greg Kroah-Hartman Cc: davem@davemloft.net, pablo@netfilter.org, kaber@trash.net, kadlec@blackhole.kfki.hu, lizefan@huawei.com, hannes@cmpxchg.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, daniel@iogearbox.net, daniel.wagner@bmw-carit.de, nhorman@tuxdriver.com Subject: Re: [PATCH 2/7] kernfs: implement kernfs_walk_and_get() Message-ID: <20151120211254.GE1574@mtj.duckdns.org> References: <1447959171-20749-1-git-send-email-tj@kernel.org> <1447959171-20749-3-git-send-email-tj@kernel.org> <20151120044104.GA10693@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151120044104.GA10693@kroah.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 30 On Thu, Nov 19, 2015 at 08:41:04PM -0800, Greg Kroah-Hartman wrote: > On Thu, Nov 19, 2015 at 01:52:46PM -0500, Tejun Heo wrote: > > Implement kernfs_walk_and_get() which is similar to > > kernfs_find_and_get() but can walk a path instead of just a name. > > > > v2: Use strlcpy() instead of strlen() + memcpy() as suggested by > > David. > > > > Signed-off-by: Tejun Heo > > Cc: Greg Kroah-Hartman > > Cc: David Miller > > --- > > fs/kernfs/dir.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > > include/linux/kernfs.h | 12 ++++++++++++ > > 2 files changed, 58 insertions(+) > > Acked-by: Greg Kroah-Hartman Greg, would it be okay to route this one through either cgroup or net tree? Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/