From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752756AbbLIAsA (ORCPT ); Tue, 8 Dec 2015 19:48:00 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:49843 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752587AbbLIArt (ORCPT ); Tue, 8 Dec 2015 19:47:49 -0500 Date: Tue, 8 Dec 2015 06:51:20 -0500 From: Greg KH To: serge.hallyn@ubuntu.com Cc: linux-kernel@vger.kernel.org, adityakali@google.com, tj@kernel.org, linux-api@vger.kernel.org, containers@lists.linux-foundation.org, cgroups@vger.kernel.org, lxc-devel@lists.linuxcontainers.org, akpm@linux-foundation.org, ebiederm@xmission.com, lizefan@huawei.com, hannes@cmpxchg.org Subject: Re: [PATCH 1/7] kernfs: Add API to generate relative kernfs path Message-ID: <20151208115120.GB26797@kroah.com> References: <1449529582-4075-1-git-send-email-serge.hallyn@ubuntu.com> <1449529582-4075-2-git-send-email-serge.hallyn@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1449529582-4075-2-git-send-email-serge.hallyn@ubuntu.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 On Mon, Dec 07, 2015 at 05:06:16PM -0600, serge.hallyn@ubuntu.com wrote: > From: Aditya Kali > > The new function kernfs_path_from_node() generates and returns kernfs > path of a given kernfs_node relative to a given parent kernfs_node. > > Changelog 20151125: > - Fully-wing multilinecomments > - Rework kernfs_path_from_node_locked() logic > - Replace BUG_ONs with returning NULL > - Use a const char* for /.. and precalculate its size > Changelog 20151130: > - Update kernfs_path_from_node_locked comment changes should go below the --- line, not here in the body of the changelog that will show up in git :(