Skip to content

Commit

Permalink
[PATCH] struct path: convert sh
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Sipek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 3d5ff52 commit c943c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/oprofile/op_model_sh7750.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static u64 sh7750_read_counter(int counter)
*/
static inline int to_counter(struct file *file)
{
const unsigned char *name = file->f_dentry->d_parent->d_name.name;
const unsigned char *name = file->f_path.dentry->d_parent->d_name.name;

return (int)simple_strtol(name, NULL, 10);
}
Expand Down

0 comments on commit c943c4b

Please sign in to comment.