Alexey Dobriyan
312ec7e50c
proc: make struct proc_dir_entry::namelen unsigned int
...
1. namelen is declared "unsigned short" which hints for "maybe space savings".
Indeed in 2.4 struct proc_dir_entry looked like:
struct proc_dir_entry {
unsigned short low_ino;
unsigned short namelen;
Now, low_ino is "unsigned int", all savings were gone for a long time.
"struct proc_dir_entry" is not that countless to worry about it's size,
anyway.
2. converting from unsigned short to int/unsigned int can only create
problems, we better play it safe.
Space is not really conserved, because of natural alignment for the next
field. sizeof(struct proc_dir_entry) remains the same.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-23 19:46:37 -07:00
..
2011-03-22 16:32:49 -05:00
2011-03-23 19:46:09 -07:00
2011-03-17 14:02:57 +01:00
2011-02-25 11:12:37 -08:00
2011-03-18 10:01:59 -04:00
2011-01-13 08:03:15 -08:00
2011-03-21 08:35:12 -04:00
2011-03-22 17:44:17 -07:00
2011-01-24 10:49:45 +11:00
2011-03-21 12:24:26 -07:00
2011-02-21 22:31:47 +00:00
2011-03-22 17:44:16 -07:00
2011-01-16 21:22:29 +00:00
2011-01-13 08:03:23 -08:00
2011-02-18 08:07:18 -08:00
2011-03-22 17:44:17 -07:00
2011-03-10 13:22:34 -06:00
2011-02-21 14:46:36 -06:00
2011-01-07 17:50:26 +11:00
2011-03-03 01:28:17 -05:00
2011-03-15 02:21:44 -04:00
2011-03-23 19:46:21 -07:00
2011-03-17 17:41:19 -07:00
2011-03-23 19:46:17 -07:00
2011-03-14 09:15:28 -04:00
2011-01-07 17:50:26 +11:00
2011-01-14 09:23:36 -08:00
2011-03-22 17:44:02 -07:00
2011-03-20 18:14:55 -07:00
2011-03-03 01:28:40 -05:00
2011-02-03 16:34:18 -07:00
2011-01-12 20:03:42 -05:00
2011-03-02 22:27:36 +01:00
2011-01-07 17:50:26 +11:00
2011-03-22 17:44:02 -07:00
2011-03-14 09:15:28 -04:00
2011-02-28 21:55:58 +01:00
2011-02-28 21:55:58 +01:00
2011-03-22 17:44:17 -07:00
2011-03-20 18:14:55 -07:00
2011-01-25 15:24:47 -05:00
2011-03-22 17:44:17 -07:00
2011-03-23 19:46:22 -07:00
2011-03-17 14:02:57 +01:00
2011-03-21 00:45:50 -04:00
2011-01-25 15:24:47 -05:00
2011-03-18 09:04:20 -04:00
2011-03-23 19:46:18 -07:00
2011-03-01 15:47:58 +01:00
2011-03-17 14:02:57 +01:00
2011-03-23 19:46:17 -07:00
2011-03-05 16:24:12 -05:00
2011-01-07 17:50:26 +11:00
2011-03-16 08:04:07 -07:00
2011-03-23 19:46:37 -07:00
2011-03-21 13:50:05 -07:00
2011-01-07 17:50:26 +11:00
2011-02-24 11:42:44 +01:00
2011-03-20 18:14:55 -07:00
2011-01-07 17:50:26 +11:00
2011-01-26 10:50:05 +10:00
2011-01-20 17:02:05 -08:00
2011-03-03 01:28:16 -05:00
2011-03-18 10:50:27 -07:00
2011-03-23 19:46:19 -07:00
2011-03-23 19:46:19 -07:00
2011-03-21 14:24:56 -07:00
2011-03-22 17:44:17 -07:00
2011-01-16 13:47:07 -05:00
2011-01-07 17:50:29 +11:00
2011-03-22 17:44:15 -07:00
2011-01-03 15:01:48 +01:00
2011-03-22 17:44:10 -07:00
2011-02-28 18:08:31 -08:00
2010-12-17 15:18:05 +01:00
2011-01-13 10:45:01 -08:00
2011-01-07 14:39:20 -08:00
2011-03-21 00:16:08 -04:00
2011-03-18 10:51:11 -07:00
2011-02-15 10:24:31 +01:00
2011-02-21 15:07:04 -08:00
2011-03-22 17:44:15 -07:00
2011-03-21 00:16:09 -04:00
2011-03-15 02:21:45 -04:00
2011-03-15 02:21:44 -04:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-01-07 17:50:27 +11:00
2011-01-16 13:47:07 -05:00
2011-01-13 17:32:48 -08:00
2011-01-07 17:50:29 +11:00
2011-03-21 00:16:08 -04:00
2011-03-21 12:13:10 -04:00
2011-03-21 00:16:08 -04:00
2011-03-16 19:01:29 -07:00
2011-01-12 20:03:43 -05:00
2011-03-05 10:55:59 +01:00
2011-03-16 19:01:29 -07:00
2011-01-10 19:04:08 +01:00
2011-01-13 17:32:32 -08:00
2011-03-18 10:01:59 -04:00
2011-03-22 17:44:10 -07:00
2011-03-14 09:15:28 -04:00
2011-03-21 01:10:41 -04:00
2011-01-20 16:21:59 -08:00
2011-01-07 17:50:33 +11:00
2011-01-25 15:24:47 -05:00
2011-01-12 20:06:58 -05:00
2011-03-21 00:16:08 -04:00
2011-01-13 10:45:01 -08:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-03-17 22:10:41 -04:00
2011-03-21 00:40:29 -04:00