]> Pileus Git - ~andy/linux/blobdiff - fs/ext2/dir.c
[PATCH] ext2: change uses of f_{dentry, vfsmnt} to use f_path
[~andy/linux] / fs / ext2 / dir.c
index 3e7a84a1e509a4aad71656e7bfeb8432d8a61460..0b02ba9642d2e817cb908f0ae10a37c6ae8366c4 100644 (file)
@@ -248,7 +248,7 @@ static int
 ext2_readdir (struct file * filp, void * dirent, filldir_t filldir)
 {
        loff_t pos = filp->f_pos;
-       struct inode *inode = filp->f_dentry->d_inode;
+       struct inode *inode = filp->f_path.dentry->d_inode;
        struct super_block *sb = inode->i_sb;
        unsigned int offset = pos & ~PAGE_CACHE_MASK;
        unsigned long n = pos >> PAGE_CACHE_SHIFT;