linux/arch/um/drivers
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
..
chan_kern.c uml: fix console writing bugs 2007-10-16 09:43:04 -07:00
chan_user.c uml: work around host tcsetattr bug 2007-12-03 08:13:17 -08:00
cow_sys.h uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
cow_user.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
cow.h [PATCH] uml: avoid warnings for diffent names for an unsigned quadword 2006-04-11 06:18:37 -07:00
daemon_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
daemon_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
daemon.h uml: network formatting 2007-10-16 09:43:08 -07:00
fd.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
harddog_kern.c uml: fix nonremovability of watchdog 2007-10-16 09:43:04 -07:00
harddog_user.c uml: user of helper_wait() got missed when it got extra arguments 2007-12-23 12:54:37 -08:00
hostaudio_kern.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
line.c uml: DEBUG_SHIRQ fixes 2008-02-05 09:44:31 -08:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-10-16 11:23:06 -07:00
mcast_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
mcast_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
mcast.h uml: network formatting 2007-10-16 09:43:08 -07:00
mconsole_kern.c Embed a struct path into struct nameidata instead of nd->{dentry,mnt} 2008-02-14 21:13:33 -08:00
mconsole_user.c uml: fix mconsole stop 2008-02-05 09:44:29 -08:00
mmapper_kern.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
net_kern.c uml: use of a public MAC is a warning, not an error 2008-02-05 09:44:31 -08:00
net_user.c uml: tidy helper code 2008-02-05 09:44:30 -08:00
null.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
pcap_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
pcap_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
pcap_user.h [PATCH] missed const in prototype 2006-10-10 15:37:24 -07:00
port_kern.c uml: port mutex conversion 2008-02-05 09:44:32 -08:00
port_user.c uml: console subsystem tidying 2007-10-16 09:43:04 -07:00
port.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pty.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
random.c uml: header untangling 2008-02-05 09:44:28 -08:00
slip_common.c [PATCH] uml: slirp and slip driver cleanups and fixes 2005-06-13 20:58:43 -07:00
slip_common.h [PATCH] uml: fix hugest stack users 2006-02-01 08:53:22 -08:00
slip_kern.c [UMP]: header_ops conversion needed for non-ethernet drivers 2007-10-17 19:35:04 -07:00
slip_user.c uml: tidy helper code 2008-02-05 09:44:30 -08:00
slip.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
slirp_kern.c [UMP]: header_ops conversion needed for non-ethernet drivers 2007-10-17 19:35:04 -07:00
slirp_user.c uml: tidy helper code 2008-02-05 09:44:30 -08:00
slirp.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
ssl.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
ssl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stderr_console.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
stdio_console.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
stdio_console.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tty.c uml: console subsystem tidying 2007-10-16 09:43:04 -07:00
ubd_kern.c uml: remove fakehd 2008-02-05 09:44:30 -08:00
ubd_user.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
vde_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
vde_user.c uml: add missing space 2008-02-05 09:44:28 -08:00
vde.h uml: add VDE networking support 2007-10-16 09:43:05 -07:00
xterm_kern.c uml: xterm driver tidying 2007-07-16 09:05:38 -07:00
xterm.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
xterm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00