···350350{351351 struct dentry *dir;352352353353- dir = oprofilefs_mkdir(root->d_sb, root, "timer");353353+ dir = oprofilefs_mkdir(root, "timer");354354 if (!dir)355355 return -EINVAL;356356···375375 * and can only be set to 0.376376 */377377378378- dir = oprofilefs_mkdir(root->d_sb, root, "0");378378+ dir = oprofilefs_mkdir(root, "0");379379 if (!dir)380380 return -EINVAL;381381···395395 * space tools. The /dev/oprofile/hwsampling fs is396396 * provided in that case.397397 */398398- dir = oprofilefs_mkdir(root->d_sb, root, "hwsampling");398398+ dir = oprofilefs_mkdir(root, "hwsampling");399399 if (!dir)400400 return -EINVAL;401401
···4646 char buf[10];4747 int i;48484949- dir = oprofilefs_mkdir(root->d_sb, root, "stats");4949+ dir = oprofilefs_mkdir(root, "stats");5050 if (!dir)5151 return;52525353 for_each_possible_cpu(i) {5454 cpu_buf = &per_cpu(op_cpu_buffer, i);5555 snprintf(buf, 10, "cpu%d", i);5656- cpudir = oprofilefs_mkdir(root->d_sb, dir, buf);5656+ cpudir = oprofilefs_mkdir(dir, buf);57575858 /* Strictly speaking access to these ulongs is racy,5959 * but we can't simply lock them, and they are