From: Josef Sipek Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton --- fs/jfs/jfs_dtree.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/jfs/jfs_dtree.c~struct-path-convert-jfs fs/jfs/jfs_dtree.c --- a/fs/jfs/jfs_dtree.c~struct-path-convert-jfs +++ a/fs/jfs/jfs_dtree.c @@ -3009,7 +3009,7 @@ static inline struct jfs_dirent *next_jf */ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir) { - struct inode *ip = filp->f_dentry->d_inode; + struct inode *ip = filp->f_path.dentry->d_inode; struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab; int rc = 0; loff_t dtpos; /* legacy OS/2 style position */ _