summaryrefslogtreecommitdiffstats
path: root/fs/qnx4/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/qnx4/dir.c')
-rw-r--r--fs/qnx4/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/qnx4/dir.c b/fs/qnx4/dir.c
index 0d7103f..c94db1d 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;
OpenPOWER on IntegriCloud