tmpfs: miscellaneous trivial cleanups
authorHugh Dickins <hughd@google.com>
Wed, 3 Aug 2011 23:21:21 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Aug 2011 00:25:23 +0000 (14:25 -1000)
commit41ffe5d5ceef7f7ff2ff18e320d88ca6d629efaf
tree66ce800fb7911ed037aa574f46729646ce485d0b
parent285b2c4fdd69ea73b4762785d8c6be83b6c074a6
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>
include/linux/shmem_fs.h
init/main.c
mm/shmem.c