From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: [PATCH 0/4] d_dname cleanups Date: Thu, 06 Feb 2014 18:21:51 -0800 Message-ID: <87iosrhdc0.fsf_-_@xmission.com> References: <20131118180134.GA24156@mail.hallyn.com> <87k3g5gnuv.fsf@xmission.com> <20131126181043.GA25492@mail.hallyn.com> <87siui1z1g.fsf_-_@xmission.com> <8738mi1yya.fsf_-_@xmission.com> <20131130061525.GY10323@ZenIV.linux.org.uk> <20131130170226.GZ10323@ZenIV.linux.org.uk> <87a9glh838.fsf@xmission.com> <20131130224340.GA10323@ZenIV.linux.org.uk> <874n53gub7.fsf@xmission.com> <20140117083901.GA10323@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140117083901.GA10323-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org> (Al Viro's message of "Fri, 17 Jan 2014 08:39:01 +0000") 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: Al Viro Cc: Aditya Kali , Neil Brown , Containers , Oleg Nesterov , Andy Lutomirski , Eric Dumazet , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linus Torvalds List-Id: containers.vger.kernel.org Al, This is a small pile of cleanups to the callers d_dname. This patset changes all implementors of d_dname to d_alloc_pseudo, simplifies the set of conditions in which we consider calling d_dname, moves the code into prepend_path, and finally adds a call to d_dname into __dentry_path allowing __dentry_path will return sensible for dentries that implement d_dname. The patches are available at: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-vfs-d_dname-cleanups Or in the patches following this email. Eric W. Biederman (4): perfmon: Use d_alloc_pseudo like all of the d_dname callers. vfs: Simply when d_alloc_dname is called. vfs: Move the call of d_op->d_dname from d_path to prepend_path vfs: Call d_dname from dentry_path arch/ia64/kernel/perfmon.c | 4 ++-- fs/dcache.c | 38 +++++++++++++++++++++++--------------- 2 files changed, 25 insertions(+), 17 deletions(-)