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
..
2008-02-08 09:22:32 -08:00
2008-02-06 10:41:15 -08:00
2008-02-01 16:42:02 -05:00
2008-02-07 08:42:23 -08:00
2008-02-08 13:30:02 -08:00
2008-02-07 10:30:48 +00:00
2008-01-31 19:28:09 -08:00
2008-01-31 19:27:40 -08:00
2008-01-31 19:27:36 -08:00
2008-01-31 19:27:39 -08:00
2008-02-01 16:42:06 -05:00
2008-02-06 10:41:19 -08:00
2008-02-05 09:44:13 -08:00
2008-02-05 14:35:47 -05:00
2008-02-10 18:11:16 -05:00
2008-02-05 03:20:13 -08:00
2008-02-01 14:35:07 -08:00
2008-02-08 09:22:30 -08:00
2008-02-06 10:41:02 -08:00
2008-02-06 10:41:10 -08:00
2008-01-30 13:30:18 +01:00
2008-02-07 03:38:22 -05:00
2008-02-05 14:33:32 +10:00
2008-02-05 14:33:32 +10:00
2008-02-13 16:21:18 -08:00
2008-02-06 10:12:18 -07:00
2008-02-06 06:54:17 -05:00
2008-02-08 09:22:38 -08:00
2008-02-04 13:16:39 +00:00
2008-02-01 14:23:55 -05:00
2008-02-08 12:41:03 +01:00
2008-01-29 21:55:15 +01:00
2008-02-07 08:42:25 -08:00
2008-02-13 16:21:18 -08:00
2008-02-05 09:44:20 -08:00
2008-02-01 23:09:24 +01:00
2008-02-13 15:45:40 +01:00
2008-02-07 08:42:22 -08:00
2008-02-03 17:45:46 +02:00
2008-01-30 13:30:02 +01:00
2008-02-06 10:41:03 -08:00
2008-02-09 23:24:09 +01:00
2008-02-14 20:58:05 -08:00
2008-01-30 13:32:42 +01:00
2008-02-06 22:57:58 -05:00
2008-02-07 04:16:34 -05:00
2008-01-30 13:31:10 +01:00
2008-02-11 20:48:29 -08:00
2008-02-03 17:45:46 +02:00
2008-02-03 15:42:53 +02:00
2008-02-08 15:33:33 -08:00
2008-02-03 04:28:53 -08:00
2008-02-08 02:10:01 +00:00
2008-02-05 09:44:10 -08:00
2008-02-08 02:09:56 +00:00
2008-02-05 09:44:11 -08:00
2008-02-06 10:12:18 -07:00
2008-02-08 09:22:24 -08:00
2008-02-08 09:22:37 -08:00
2008-02-07 08:42:06 -08:00
2008-02-07 08:42:27 -08:00
2008-02-08 09:22:30 -08:00
2008-02-07 09:02:26 -08:00
2008-02-07 08:42:30 -08:00
2008-02-07 18:04:10 -06:00
2008-02-07 08:42:25 -08:00
2008-02-13 16:21:19 -08:00
2008-02-03 17:45:46 +02:00
2008-02-07 08:42:27 -08:00
2008-01-28 23:58:27 -05:00
2008-01-29 00:19:52 -05:00
2008-01-29 00:19:52 -05:00
2008-02-10 01:11:44 -05:00
2008-02-13 16:21:18 -08:00
2008-02-14 20:58:06 -08:00
2008-02-06 10:41:05 -08:00
2008-02-01 17:45:14 +01:00
2008-02-08 12:42:01 +01:00
2008-02-13 16:21:18 -08:00
2008-02-06 10:41:00 -08:00
2008-02-07 08:42:34 -08:00
2008-02-05 13:31:39 -05:00
2008-02-03 15:42:53 +02:00
2008-02-01 23:09:34 +01:00
2008-02-05 09:44:19 -08:00
2008-01-30 13:30:27 +01:00
2008-02-10 10:48:03 +01:00
2008-02-13 16:21:18 -08:00
2008-02-05 09:44:23 -08:00
2008-02-07 20:39:44 -05:00
2008-02-11 09:20:50 -08:00
2008-02-01 16:13:16 -05:00
2008-02-05 16:20:22 -08:00
2008-01-31 19:28:31 -08:00
2008-01-30 13:34:11 +01:00
2008-02-05 09:44:20 -08:00
2008-02-06 22:39:45 +01:00
2008-02-07 12:57:44 -08:00
2008-02-13 16:21:18 -08:00
2008-02-05 09:44:11 -08:00
2008-01-30 13:30:32 +01:00
2008-02-08 09:22:26 -08:00
2008-02-08 09:22:23 -08:00
2008-01-31 19:28:20 -08:00
2008-02-13 16:21:18 -08:00
2008-02-06 10:41:07 -08:00
2008-02-07 08:42:33 -08:00
2008-02-07 08:42:34 -08:00
2008-01-28 23:58:27 -05:00
2008-02-06 10:41:21 -08:00
2008-02-08 09:22:29 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:41 -08:00
2008-02-07 08:42:25 -08:00
2008-02-06 10:41:11 -08:00
2008-02-07 14:54:45 -08:00
2008-01-30 18:01:22 +02:00
2008-01-30 18:01:22 +02:00
2008-01-30 18:01:18 +02:00
2008-01-30 18:01:22 +02:00
2008-02-07 09:49:38 +00:00
2008-02-04 23:49:57 +11:00
2008-02-06 06:59:32 -05:00
2008-02-13 16:21:18 -08:00
2008-02-03 17:45:46 +02:00
2008-02-06 10:41:03 -08:00
2008-02-06 10:41:01 -08:00
2008-02-06 10:41:01 -08:00
2008-02-13 16:21:20 -08:00
2008-02-09 11:08:33 -08:00
2008-02-09 11:08:34 -08:00
2008-02-05 09:44:23 -08:00
2008-02-07 17:47:41 -08:00
2008-02-13 16:21:18 -08:00
2008-02-05 09:44:18 -08:00
2008-02-05 09:44:08 -08:00
2008-02-14 20:58:04 -08:00
2008-02-13 16:21:19 -08:00
2008-02-13 16:21:18 -08:00
2008-02-08 09:22:31 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:41 -08:00
2008-02-13 16:21:18 -08:00
2008-01-31 19:28:23 -08:00
2008-01-30 02:06:07 -05:00
2008-02-01 11:45:47 +11:00
2008-01-30 02:05:24 -05:00
2008-01-30 02:06:08 -05:00
2008-02-01 16:42:05 -05:00
2008-02-01 18:30:53 -05:00
2008-02-05 09:44:24 -08:00
2008-02-06 16:29:59 +11:00
2008-02-05 09:44:19 -08:00
2008-02-13 16:21:18 -08:00
2008-02-14 21:13:32 -08:00
2008-02-06 10:41:08 -08:00
2008-02-02 11:32:01 -08:00
2008-02-01 15:04:29 -08:00
2008-02-10 12:52:46 -08:00
2008-02-02 02:44:34 +03:00
2008-02-06 10:41:04 -08:00
2008-02-07 23:11:56 -08:00
2008-02-03 04:28:41 -08:00
2008-02-08 09:22:23 -08:00
2008-02-13 16:21:18 -08:00
2008-02-05 16:21:04 -08:00
2008-01-31 19:28:35 -08:00
2008-02-05 09:44:22 -08:00
2008-02-03 17:45:46 +02:00
2008-02-06 10:41:20 -08:00
2008-02-05 21:15:50 -05:00
2008-02-05 09:44:20 -08:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:24 -08:00
2008-02-08 09:22:26 -08:00
2008-02-07 08:42:28 -08:00
2008-02-03 16:12:47 +02:00
2008-02-06 10:41:06 -08:00
2008-02-08 09:22:42 -08:00
2008-02-05 09:44:22 -08:00
2008-01-30 13:31:47 +01:00
2008-02-03 15:42:53 +02:00
2008-02-08 09:22:41 -08:00
2008-02-07 08:42:18 -08:00
2008-01-31 19:26:46 -08:00
2008-02-07 08:42:19 -08:00
2008-02-05 03:17:22 -08:00
2008-02-13 16:21:18 -08:00
2008-02-13 16:21:18 -08:00
2008-02-05 10:59:07 -05:00
2008-02-05 09:44:20 -08:00
2008-01-30 08:17:26 +11:00
2008-02-07 08:42:34 -08:00
2008-02-05 09:44:09 -08:00
2008-02-13 16:21:18 -08:00
2008-02-07 08:42:30 -08:00
2008-02-08 09:22:41 -08:00
2008-02-08 09:22:27 -08:00
2008-02-03 15:12:15 +02:00
2008-02-04 23:49:56 +11:00
2008-02-07 17:47:41 -08:00
2008-02-03 17:45:46 +02:00
2008-02-06 10:41:16 -08:00
2008-01-30 13:33:17 +01:00
2008-01-31 19:28:30 -08:00
2008-02-03 17:45:46 +02:00
2008-01-30 13:31:20 +01:00
2008-01-30 13:31:20 +01:00
2008-02-08 09:22:31 -08:00
2008-02-07 08:42:34 -08:00
2008-02-01 18:30:53 -05:00
2008-02-05 09:44:17 -08:00
2008-02-13 16:21:18 -08:00
2008-02-09 11:08:33 -08:00
2008-02-05 09:44:07 -08:00
2008-02-05 09:44:20 -08:00
2008-02-09 04:01:48 -05:00
2008-02-01 17:45:14 +01:00
2008-02-01 17:45:14 +01:00
2008-02-09 11:08:34 -08:00
2008-02-08 09:22:29 -08:00
2008-02-08 09:22:37 -08:00
2008-02-10 10:48:03 +01:00
2008-02-07 08:42:16 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:34 -08:00
2008-02-08 09:22:36 -08:00
2008-02-01 14:34:49 -08:00
2008-02-01 14:35:07 -08:00
2008-02-01 14:34:58 -08:00
2008-02-08 09:22:23 -08:00
2008-02-04 23:50:13 +11:00
2008-02-04 23:50:01 +11:00
2008-02-04 23:50:03 +11:00
2008-02-04 23:50:02 +11:00
2008-02-04 23:50:12 +11:00
2008-02-04 23:50:00 +11:00
2008-02-04 23:50:03 +11:00
2008-02-05 09:44:14 -08:00
2008-02-06 10:41:03 -08:00
2008-02-06 10:41:15 -08:00
2008-02-13 16:21:18 -08:00
2008-02-03 15:42:53 +02:00
2008-02-13 16:21:18 -08:00
2008-02-05 09:44:19 -08:00
2008-02-05 09:44:20 -08:00
2008-01-31 19:27:03 -08:00