diff options
author | Hugh Dickins <hughd@google.com> | 2011-08-03 19:21:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-03 20:25:23 -0400 |
commit | 41ffe5d5ceef7f7ff2ff18e320d88ca6d629efaf (patch) | |
tree | 66ce800fb7911ed037aa574f46729646ce485d0b /init | |
parent | 285b2c4fdd69ea73b4762785d8c6be83b6c074a6 (diff) |
tmpfs: miscellaneous trivial cleanups
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().
Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index d7211faed2ad..1952d37e4ecb 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -715,7 +715,7 @@ static void __init do_basic_setup(void) | |||
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(); |