From: Josef Sipek Date: Fri, 8 Dec 2006 10:36:58 +0000 (-0800) Subject: [PATCH] struct path: convert cramfs X-Git-Tag: v2.6.20-rc1~34^2~330 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=352d8af748a1bee0935987b811c9fc4693803d99;p=linux-2.6-omap-h63xx.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 0509cedd415..6db03fb089d 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;