author: Josef Sipek <jsipek@fsl.cs.sunysb.edu> 2006-12-08 02:37:32 -0800
committer: Linus Torvalds <torvalds@woody.osdl.org> 2006-12-08 08:28:48 -0800
commit: 24e23c24e7a4754e50439dfc33bdbd05b09c4cc5
parent: c2c8bbadbf6532e48025c9065231244f0c477c29
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/qnx4/dir.c b/fs/qnx4/dir.c
index 0d7103fa0df5..c94db1db7a71 100644
--- a/fs/qnx4/dir.c
+++ b/fs/qnx4/dir.c
@@ -22,7 +22,7 @@
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;
struct buffer_head *bh;
struct qnx4_inode_entry *de;