oprofilefs_mkdir() doesn't need superblock argument
[deliverable/linux.git] / arch / s390 / oprofile / init.c
index 712d57bb783ada595e951eacf6e8608032a43620..5ae06db7ec58a60ca75c9c007e6067c8503279bf 100644 (file)
@@ -350,7 +350,7 @@ static int oprofile_create_hwsampling_files(struct dentry *root)
 {
        struct dentry *dir;
 
-       dir = oprofilefs_mkdir(root->d_sb, root, "timer");
+       dir = oprofilefs_mkdir(root, "timer");
        if (!dir)
                return -EINVAL;
 
@@ -375,7 +375,7 @@ static int oprofile_create_hwsampling_files(struct dentry *root)
                 * and can only be set to 0.
                 */
 
-               dir = oprofilefs_mkdir(root->d_sb, root, "0");
+               dir = oprofilefs_mkdir(root, "0");
                if (!dir)
                        return -EINVAL;
 
@@ -395,7 +395,7 @@ static int oprofile_create_hwsampling_files(struct dentry *root)
                 * space tools.  The /dev/oprofile/hwsampling fs is
                 * provided in that case.
                 */
-               dir = oprofilefs_mkdir(root->d_sb, root, "hwsampling");
+               dir = oprofilefs_mkdir(root, "hwsampling");
                if (!dir)
                        return -EINVAL;
 
This page took 0.026842 seconds and 5 git commands to generate.