d_dname cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perfmon: Use d_alloc_pseudo like all of the d_dname callers.arch/ | +2 | 0 replies | |
| 2/4 | vfs: Simply when d_alloc_dname is called.fs/ | +6 | 0 replies | |
| 3/4 | vfs: Move the call of d_op->d_dname from d_path to prepend_pathfs/ | +21 | 0 replies | |
| 4/4 | vfs: Call d_dname from dentry_pathfs/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)