diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-19 08:10:36 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-03 22:52:48 -0400 |
commit | 6af4ea0ba708172be8caf1ba5047b2b8a9d2fea3 (patch) | |
tree | b52fe5f7e6a811184f2379bc6bab3d4b6d2e6520 /drivers/oprofile/oprofile_files.c | |
parent | ecde28237e10de3750a97579f42bc2ec65b8a0e1 (diff) |
oprofilefs_create_...() do not need superblock argument
same story as with oprofilefs_mkdir()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/oprofile/oprofile_files.c')
-rw-r--r-- | drivers/oprofile/oprofile_files.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/oprofile/oprofile_files.c b/drivers/oprofile/oprofile_files.c index 07462a9af615..ee2cfce358b9 100644 --- a/drivers/oprofile/oprofile_files.c +++ b/drivers/oprofile/oprofile_files.c | |||
@@ -183,17 +183,17 @@ void oprofile_create_files(struct dentry *root) | |||
183 | oprofile_buffer_watershed = BUFFER_WATERSHED_DEFAULT; | 183 | oprofile_buffer_watershed = BUFFER_WATERSHED_DEFAULT; |
184 | oprofile_time_slice = msecs_to_jiffies(TIME_SLICE_DEFAULT); | 184 | oprofile_time_slice = msecs_to_jiffies(TIME_SLICE_DEFAULT); |
185 | 185 | ||
186 | oprofilefs_create_file(root->d_sb, root, "enable", &enable_fops); | 186 | oprofilefs_create_file(root, "enable", &enable_fops); |
187 | oprofilefs_create_file_perm(root->d_sb, root, "dump", &dump_fops, 0666); | 187 | oprofilefs_create_file_perm(root, "dump", &dump_fops, 0666); |
188 | oprofilefs_create_file(root->d_sb, root, "buffer", &event_buffer_fops); | 188 | oprofilefs_create_file(root, "buffer", &event_buffer_fops); |
189 | oprofilefs_create_ulong(root->d_sb, root, "buffer_size", &oprofile_buffer_size); | 189 | oprofilefs_create_ulong(root, "buffer_size", &oprofile_buffer_size); |
190 | oprofilefs_create_ulong(root->d_sb, root, "buffer_watershed", &oprofile_buffer_watershed); | 190 | oprofilefs_create_ulong(root, "buffer_watershed", &oprofile_buffer_watershed); |
191 | oprofilefs_create_ulong(root->d_sb, root, "cpu_buffer_size", &oprofile_cpu_buffer_size); | 191 | oprofilefs_create_ulong(root, "cpu_buffer_size", &oprofile_cpu_buffer_size); |
192 | oprofilefs_create_file(root->d_sb, root, "cpu_type", &cpu_type_fops); | 192 | oprofilefs_create_file(root, "cpu_type", &cpu_type_fops); |
193 | oprofilefs_create_file(root->d_sb, root, "backtrace_depth", &depth_fops); | 193 | oprofilefs_create_file(root, "backtrace_depth", &depth_fops); |
194 | oprofilefs_create_file(root->d_sb, root, "pointer_size", &pointer_size_fops); | 194 | oprofilefs_create_file(root, "pointer_size", &pointer_size_fops); |
195 | #ifdef CONFIG_OPROFILE_EVENT_MULTIPLEX | 195 | #ifdef CONFIG_OPROFILE_EVENT_MULTIPLEX |
196 | oprofilefs_create_file(root->d_sb, root, "time_slice", &timeout_fops); | 196 | oprofilefs_create_file(root, "time_slice", &timeout_fops); |
197 | #endif | 197 | #endif |
198 | oprofile_create_stats_files(root); | 198 | oprofile_create_stats_files(root); |
199 | if (oprofile_ops.create_files) | 199 | if (oprofile_ops.create_files) |