new helper: file_inode(file)
[deliverable/linux.git] / fs / udf / dir.c
index eb8bfe2b89a540d21c7bf4bd8d75b829d4d67fe4..b3e93f5e17c367fcfd818a4e7a0a455929baf847 100644 (file)
@@ -186,7 +186,7 @@ out:
 
 static int udf_readdir(struct file *filp, void *dirent, filldir_t filldir)
 {
-       struct inode *dir = filp->f_path.dentry->d_inode;
+       struct inode *dir = file_inode(filp);
        int result;
 
        if (filp->f_pos == 0) {
This page took 0.02815 seconds and 5 git commands to generate.