Skip to content

Use struct path in struct nameidata

Bharata B Rao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Don't touch fs_struct in driversdrivers/pnp/pnpbios/core.c sound/core/seq/seq_clientmgr.c sound/core/seq/seq_device.c +4 more+6 -190 replies
2/13Don't touch fs_struct in usermodehelperkernel/kmod.c+1 -40 replies
3/13Remove path_release_on_umount()fs/namei.c fs/namespace.c include/linux/namei.h+3 -120 replies
4/13Move struct path into its own headerinclude/linux/namei.h include/linux/path.h+13 -50 replies
5/13Embed a struct path into struct nameidata instead of nd->{dentry,mnt}arch/alpha/kernel/osf_sys.c arch/mips/kernel/sysirix.c arch/parisc/hpux/sys_hpux.c +48 more+488 -4690 replies
6/13Introduce path_put()arch/alpha/kernel/osf_sys.c arch/mips/kernel/sysirix.c arch/parisc/hpux/sys_hpux.c +40 more+134 -1330 replies
7/13Use path_put() in a few places instead of {mnt,d}put()fs/afs/mntpt.c fs/namei.c+6 -120 replies
8/13Introduce path_get()fs/namei.c fs/unionfs/super.c include/linux/namei.h +1 more+17 -90 replies
9/13Use struct path in fs_structfs/dcache.c fs/namei.c fs/namespace.c +6 more+87 -1110 replies
10/13Make set_fs_{root,pwd} take a struct pathfs/namespace.c fs/open.c include/linux/fs_struct.h+20 -240 replies
11/13Make __d_path() to take a struct path argumentfs/dcache.c+4 -60 replies
12/13Use struct path argument in proc_get_link()fs/proc/base.c fs/proc/internal.h fs/proc/task_mmu.c +2 more+35 -410 replies
13/13Rename {__}d_path() to {__}print_path() and fix commentsarch/blackfin/kernel/traps.c drivers/md/bitmap.c drivers/usb/gadget/file_storage.c +11 more+34 -362 replies

Reviews trailers per patch

10 of 13 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/13A-b
2/13A-b
3/13A-b
4/13A-b
5/13A-b
6/13
7/13A-b
8/13A-b
9/13A-b
10/13A-b
11/13A-b
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] Use struct path in struct nameidata

Hi Andrew,

Could you please consider these patches for -mm ? These patches apply on 2.6.23-mm1 and are mostly a repost of earlier patches.

Patches 1 to 11 have been Acked by Christoph Hellwig.

Patch 12 is another instance where (vfsmnt, dentry) to path conversion is possible.

Patch 13 is a patch which renames d_path to print_path and fixes comments as suggested by Christoph.

Compile and boot tested on x86, x86_64 and powerpc.

Regards,
Bharata.