From: Josef Sipek Date: Fri, 8 Dec 2006 10:36:58 +0000 (-0800) Subject: [PATCH] struct path: convert cramfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=352d8af748a1bee0935987b811c9fc4693803d99;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] struct path: convert cramfs Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c index 0509cedd415c..6db03fb089dc 100644 --- a/fs/cramfs/inode.c +++ b/fs/cramfs/inode.c @@ -338,7 +338,7 @@ static int cramfs_statfs(struct dentry *dentry, struct kstatfs *buf) */ static int cramfs_readdir(struct file *filp, void *dirent, filldir_t filldir) { - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; struct super_block *sb = inode->i_sb; char *buf; unsigned int offset;