android_kernel_xiaomi_sm8350/arch/mips
Jan Blunck 4ac9137858 Embed a struct path into struct nameidata instead of nd->{dentry,mnt}
This is the central patch of a cleanup series. In most cases there is no good
reason why someone would want to use a dentry for itself. This series reflects
that fact and embeds a struct path into nameidata.

Together with the other patches of this series
- it enforced the correct order of getting/releasing the reference count on
  <dentry,vfsmount> pairs
- it prepares the VFS for stacking support since it is essential to have a
  struct path in every place where the stack can be traversed
- it reduces the overall code size:

without patch series:
   text    data     bss     dec     hex filename
5321639  858418  715768 6895825  6938d1 vmlinux

with patch series:
   text    data     bss     dec     hex filename
5320026  858418  715768 6894212  693284 vmlinux

This patch:

Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix cifs]
[akpm@linux-foundation.org: fix smack]
Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-14 21:13:33 -08:00
..
au1000 Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
basler/excite [MIPS]: constify function pointer tables 2008-01-29 10:15:03 +00:00
bcm47xx
boot
cobalt [MIPS] add cpu_wait() to machine_halt() 2008-01-29 10:15:00 +00:00
configs [MIPS] Qemu: Remove platform. 2008-01-29 10:15:02 +00:00
dec [MIPS] time: remove unused mips_timer_state() 2008-01-29 10:15:00 +00:00
emma2rh
fw [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
gt64120/wrppmc [MIPS] remove unused mips_machtype 2008-01-29 10:14:55 +00:00
jazz [MIPS] Cleanup pcspeaker platform device registration. 2008-01-29 10:14:57 +00:00
jmr3927 [MIPS] TXx9 watchdog support for rbhma3100,rbhma4200,rbhma4500 2008-01-29 10:14:58 +00:00
kernel Embed a struct path into struct nameidata instead of nd->{dentry,mnt} 2008-02-14 21:13:33 -08:00
lasat [MIPS] Lasat: Convert pvc_sem semaphore to mutex 2008-01-29 10:15:01 +00:00
lemote/lm2e [MIPS] Fulong: don't reinitialize pci_probe_only to it's default value. 2008-01-29 10:14:59 +00:00
lib [MIPS] Eleminate local symbols from the symbol table. 2008-01-29 10:14:59 +00:00
math-emu
mips-boards [MIPS] Malta: remaining bits of the board support code cleanup 2008-01-29 10:15:05 +00:00
mipssim [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
mm arch/mips/: Spelling fixes 2008-02-03 16:54:53 +02:00
oprofile [MIPS] Extend performance counter event field. 2008-01-29 10:14:59 +00:00
pci [MIPS] BCM1480: Use constants instead of magic numbers in PCI code. 2008-01-29 10:14:59 +00:00
philips/pnx8550 [MIPS] pnx8xxx: clocksource cleanups 2008-01-29 10:15:01 +00:00
pmc-sierra [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
sgi-ip22 [MIPS] IP28 support 2008-01-29 10:14:58 +00:00
sgi-ip27 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
sgi-ip32
sibyte [MIPS] Remove CONFIG_SIBYTE_PT{1120,1125,SWARM} 2008-01-29 10:14:58 +00:00
sni [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
tx4927 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-01-29 22:48:03 +11:00
tx4938 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-01-29 22:48:03 +11:00
vr41xx [MIPS] move vr41xx_calculate_clock_frequency() to plat_time_init() 2008-01-29 10:15:00 +00:00
defconfig [MIPS] Qemu: Remove platform. 2008-01-29 10:15:02 +00:00
Kconfig ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
Kconfig.debug
Makefile [MIPS] Qemu: Remove platform. 2008-01-29 10:15:02 +00:00