mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
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>
This commit is contained in:
parent
285b2c4fdd
commit
41ffe5d5ce
3 changed files with 109 additions and 111 deletions
|
|
@ -715,7 +715,7 @@ static void __init do_basic_setup(void)
|
|||
{
|
||||
cpuset_init_smp();
|
||||
usermodehelper_init();
|
||||
init_tmpfs();
|
||||
shmem_init();
|
||||
driver_init();
|
||||
init_irq_proc();
|
||||
do_ctors();
|
||||
|
|
|
|||
Loading…
Reference in a new issue