VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Josef Sipek <jsipek@fsl.cs.sunysb.edu> 2006-12-08 02:37:00 -0800 committer: Linus Torvalds <torvalds@woody.osdl.org> 2006-12-08 08:28:45 -0800 commit: 0191f2055cd16a2252219c621329b52d8b67194e parent: cc5ef55fd0d81f70b0afc86817aa1d305fd6aeaa
Commit Summary:
[PATCH] struct path: convert efs
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/efs/dir.c b/fs/efs/dir.c
index 17f5b2d3c16a..b46c488eefc8 100644
--- a/fs/efs/dir.c
+++ b/fs/efs/dir.c
@@ -20,7 +20,7 @@ struct inode_operations efs_dir_inode_operations = {
 };
 
 static int efs_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 buffer_head *bh;
 
 	struct efs_dir		*dirblock;