aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cramfs/inode.c2
1 files changed, 1 insertions, 1 deletions
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)
338 */ 338 */
339static int cramfs_readdir(struct file *filp, void *dirent, filldir_t filldir) 339static int cramfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
340{ 340{
341 struct inode *inode = filp->f_dentry->d_inode; 341 struct inode *inode = filp->f_path.dentry->d_inode;
342 struct super_block *sb = inode->i_sb; 342 struct super_block *sb = inode->i_sb;
343 char *buf; 343 char *buf;
344 unsigned int offset; 344 unsigned int offset;