From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:38 +0000 (-0800) Subject: [PATCH] struct path: convert sh X-Git-Tag: firefly_0821_release~31904^2~276 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c943c4b49c75f3cae89e5d993ce1ae859395caa2;p=firefly-linux-kernel-4.4.55.git [PATCH] struct path: convert sh Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/sh/oprofile/op_model_sh7750.c b/arch/sh/oprofile/op_model_sh7750.c index c265185b22a7..60402eec4b4d 100644 --- a/arch/sh/oprofile/op_model_sh7750.c +++ b/arch/sh/oprofile/op_model_sh7750.c @@ -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); }