Skip to content

d_dname cleanups

Eric W. Biederman containers linux-fsdevel linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perfmon: Use d_alloc_pseudo like all of the d_dname callers.arch/ia64/kernel/perfmon.c+2 -20 replies
2/4vfs: Simply when d_alloc_dname is called.fs/dcache.c+6 -100 replies
3/4vfs: Move the call of d_op->d_dname from d_path to prepend_pathfs/dcache.c+21 -110 replies
4/4vfs: Call d_dname from dentry_pathfs/dcache.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] d_dname cleanups

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(-)