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 /include/linux/shmem_fs.h | |
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 'include/linux/shmem_fs.h')
-rw-r--r-- | include/linux/shmem_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/shmem_fs.h b/include/linux/shmem_fs.h index 80b695213fdb..3f05795dcf7b 100644 --- a/include/linux/shmem_fs.h +++ b/include/linux/shmem_fs.h | |||
@@ -47,7 +47,7 @@ static inline struct shmem_inode_info *SHMEM_I(struct inode *inode) | |||
47 | /* | 47 | /* |
48 | * Functions in mm/shmem.c called directly from elsewhere: | 48 | * Functions in mm/shmem.c called directly from elsewhere: |
49 | */ | 49 | */ |
50 | extern int init_tmpfs(void); | 50 | extern int shmem_init(void); |
51 | extern int shmem_fill_super(struct super_block *sb, void *data, int silent); | 51 | extern int shmem_fill_super(struct super_block *sb, void *data, int silent); |
52 | extern struct file *shmem_file_setup(const char *name, | 52 | extern struct file *shmem_file_setup(const char *name, |
53 | loff_t size, unsigned long flags); | 53 | loff_t size, unsigned long flags); |