aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/oprofile.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-07-19 08:10:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-03 22:52:48 -0400
commit6af4ea0ba708172be8caf1ba5047b2b8a9d2fea3 (patch)
treeb52fe5f7e6a811184f2379bc6bab3d4b6d2e6520 /include/linux/oprofile.h
parentecde28237e10de3750a97579f42bc2ec65b8a0e1 (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 'include/linux/oprofile.h')
-rw-r--r--include/linux/oprofile.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h
index 957877e7a408..166ef4fb4b5c 100644
--- a/include/linux/oprofile.h
+++ b/include/linux/oprofile.h
@@ -125,22 +125,22 @@ void oprofile_add_trace(unsigned long eip);
125 * Create a file of the given name as a child of the given root, with 125 * Create a file of the given name as a child of the given root, with
126 * the specified file operations. 126 * the specified file operations.
127 */ 127 */
128int oprofilefs_create_file(struct super_block * sb, struct dentry * root, 128int oprofilefs_create_file(struct dentry * root,
129 char const * name, const struct file_operations * fops); 129 char const * name, const struct file_operations * fops);
130 130
131int oprofilefs_create_file_perm(struct super_block * sb, struct dentry * root, 131int oprofilefs_create_file_perm(struct dentry * root,
132 char const * name, const struct file_operations * fops, int perm); 132 char const * name, const struct file_operations * fops, int perm);
133 133
134/** Create a file for read/write access to an unsigned long. */ 134/** Create a file for read/write access to an unsigned long. */
135int oprofilefs_create_ulong(struct super_block * sb, struct dentry * root, 135int oprofilefs_create_ulong(struct dentry * root,
136 char const * name, ulong * val); 136 char const * name, ulong * val);
137 137
138/** Create a file for read-only access to an unsigned long. */ 138/** Create a file for read-only access to an unsigned long. */
139int oprofilefs_create_ro_ulong(struct super_block * sb, struct dentry * root, 139int oprofilefs_create_ro_ulong(struct dentry * root,
140 char const * name, ulong * val); 140 char const * name, ulong * val);
141 141
142/** Create a file for read-only access to an atomic_t. */ 142/** Create a file for read-only access to an atomic_t. */
143int oprofilefs_create_ro_atomic(struct super_block * sb, struct dentry * root, 143int oprofilefs_create_ro_atomic(struct dentry * root,
144 char const * name, atomic_t * val); 144 char const * name, atomic_t * val);
145 145
146/** create a directory */ 146/** create a directory */