|
@@ -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;
|