summaryrefslogtreecommitdiffstats
path: root/fs/ramfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-06-01 18:51:15 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-05 14:34:27 -0400
commitdf02450217c98e01b8b22f805314470df71f2b9b (patch)
treed8d017e9d3a795bc47514f1ed480d3e737642901 /fs/ramfs/inode.c
parentd401727ea0d7a48eaa01a8089f6b91a8121dcaac (diff)
downloadlinux-df02450217c98e01b8b22f805314470df71f2b9b.tar.bz2
make ramfs_fill_super() static
all users should just call ramfs_mount() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ramfs/inode.c')
-rw-r--r--fs/ramfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index 733c6b4193dc..b85d1e77e934 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -217,7 +217,7 @@ static int ramfs_parse_options(char *data, struct ramfs_mount_opts *opts)
return 0;
}
-int ramfs_fill_super(struct super_block *sb, void *data, int silent)
+static int ramfs_fill_super(struct super_block *sb, void *data, int silent)
{
struct ramfs_fs_info *fsi;
struct inode *inode;