Merge tag 'nfs-for-3.9-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[deliverable/linux.git] / fs / exofs / dir.c
index c61e62ac231c4ab03cd680398e357a36e20b515c..46375896cfc0a8572140e9fa69d2629cd044755a 100644 (file)
@@ -242,7 +242,7 @@ static int
 exofs_readdir(struct file *filp, void *dirent, filldir_t filldir)
 {
        loff_t pos = filp->f_pos;
-       struct inode *inode = filp->f_path.dentry->d_inode;
+       struct inode *inode = file_inode(filp);
        unsigned int offset = pos & ~PAGE_CACHE_MASK;
        unsigned long n = pos >> PAGE_CACHE_SHIFT;
        unsigned long npages = dir_pages(inode);
This page took 0.112972 seconds and 5 git commands to generate.