dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
..
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-10-16 11:23:06 -07: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.h
cow_sys.h
cow_user.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
daemon.h uml: network formatting 2007-10-16 09:43:08 -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
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
mcast.h uml: network formatting 2007-10-16 09:43:08 -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
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
port.h
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
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.h
slip_common.c
slip_common.h
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
slirp.h
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
ssl.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
ssl.h
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
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.h uml: add VDE networking support 2007-10-16 09:43:05 -07: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
xterm.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
xterm.h
xterm_kern.c