From: Josef Sipek Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton --- fs/bfs/dir.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/bfs/dir.c~struct-path-convert-bfs fs/bfs/dir.c --- a/fs/bfs/dir.c~struct-path-convert-bfs +++ a/fs/bfs/dir.c @@ -27,7 +27,7 @@ static struct buffer_head * bfs_find_ent static int bfs_readdir(struct file * f, void * dirent, filldir_t filldir) { - struct inode * dir = f->f_dentry->d_inode; + struct inode * dir = f->f_path.dentry->d_inode; struct buffer_head * bh; struct bfs_dirent * de; unsigned int offset; _