diff options
Diffstat (limited to 'fs/tracefs/inode.c')
-rw-r--r-- | fs/tracefs/inode.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index 7098c49f3693..aa423e446765 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -225,7 +225,8 @@ static int tracefs_apply_options(struct super_block *sb) return 0; } -static int tracefs_remount(struct super_block *sb, int *flags, char *data) +static int tracefs_remount(struct super_block *sb, int *flags, + char *data, size_t data_size) { int err; struct tracefs_fs_info *fsi = sb->s_fs_info; @@ -264,7 +265,8 @@ static const struct super_operations tracefs_super_operations = { .show_options = tracefs_show_options, }; -static int trace_fill_super(struct super_block *sb, void *data, int silent) +static int trace_fill_super(struct super_block *sb, + void *data, size_t data_size, int silent) { static const struct tree_descr trace_files[] = {{""}}; struct tracefs_fs_info *fsi; @@ -299,9 +301,9 @@ fail: static struct dentry *trace_mount(struct file_system_type *fs_type, int flags, const char *dev_name, - void *data) + void *data, size_t data_size) { - return mount_single(fs_type, flags, data, trace_fill_super); + return mount_single(fs_type, flags, data, data_size, trace_fill_super); } static struct file_system_type trace_fs_type = { |