Browse Source

[PATCH] struct path: convert qnx4

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Josef Sipek 18 years ago
parent
commit
24e23c24e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/qnx4/dir.c

+ 1 - 1
fs/qnx4/dir.c

@@ -22,7 +22,7 @@
 
 
 static int qnx4_readdir(struct file *filp, void *dirent, filldir_t filldir)
 static int qnx4_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;
 	unsigned int offset;
 	unsigned int offset;
 	struct buffer_head *bh;
 	struct buffer_head *bh;
 	struct qnx4_inode_entry *de;
 	struct qnx4_inode_entry *de;