aboutsummaryrefslogtreecommitdiffstats
path: root/fs/qnx6/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/qnx6/inode.c')
-rw-r--r--fs/qnx6/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c
index 44e73923670d..32d2e1a9774c 100644
--- a/fs/qnx6/inode.c
+++ b/fs/qnx6/inode.c
@@ -182,7 +182,7 @@ static const char *qnx6_checkroot(struct super_block *s)
182 static char match_root[2][3] = {".\0\0", "..\0"}; 182 static char match_root[2][3] = {".\0\0", "..\0"};
183 int i, error = 0; 183 int i, error = 0;
184 struct qnx6_dir_entry *dir_entry; 184 struct qnx6_dir_entry *dir_entry;
185 struct inode *root = s->s_root->d_inode; 185 struct inode *root = d_inode(s->s_root);
186 struct address_space *mapping = root->i_mapping; 186 struct address_space *mapping = root->i_mapping;
187 struct page *page = read_mapping_page(mapping, 0, NULL); 187 struct page *page = read_mapping_page(mapping, 0, NULL);
188 if (IS_ERR(page)) 188 if (IS_ERR(page))