While it's at its least, make a number of boring nitpicky cleanups to shmem.c, mostly for consistency of variable naming. Things like "swap" instead of "entry", "pgoff_t index" instead of "unsigned long idx". And since everything else here is prefixed "shmem_", better change init_tmpfs() to shmem_init().
Showing the changes to init (1 of 3 files). Show all
Unified · Split
| @@ -715,7 +715,7 @@ static void __init do_basic_setup(void) · 714 unmodified lines | |||
| 715 | { | 715 | { |
| 716 | cpuset_init_smp(); | 716 | cpuset_init_smp(); |
| 717 | usermodehelper_init(); | 717 | usermodehelper_init(); |
| 718 | init_tmpfs(); | 718 | shmem_init(); |
| 719 | driver_init(); | 719 | driver_init(); |
| 720 | init_irq_proc(); | 720 | init_irq_proc(); |
| 721 | do_ctors(); | 721 | do_ctors(); |