[PATCH] struct path: convert sh

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Josef Sipek 2006-12-08 02:37:38 -08:00 коммит произвёл Linus Torvalds
Родитель 3d5ff529ea
Коммит c943c4b49c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
}