[PATCH] isofs: change uses of f_{dentry, vfsmnt} to use f_path
[sfrench/cifs-2.6.git] / fs / isofs / compress.c
index 731816332b12b5a310623fbc85134710714ddd41..6bbbdb53581d1bb42b1db87f88a4de9799b82808 100644 (file)
@@ -42,7 +42,7 @@ static struct semaphore zisofs_zlib_semaphore;
  */
 static int zisofs_readpage(struct file *file, struct page *page)
 {
-       struct inode *inode = file->f_dentry->d_inode;
+       struct inode *inode = file->f_path.dentry->d_inode;
        struct address_space *mapping = inode->i_mapping;
        unsigned int maxpage, xpage, fpage, blockindex;
        unsigned long offset;