diff options
Diffstat (limited to 'fs/gfs2/ops_export.c')
-rw-r--r-- | fs/gfs2/ops_export.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/gfs2/ops_export.c b/fs/gfs2/ops_export.c index d07230ee5fc0..0fe14478a54d 100644 --- a/fs/gfs2/ops_export.c +++ b/fs/gfs2/ops_export.c | |||
@@ -245,7 +245,9 @@ static struct dentry *gfs2_get_dentry(struct super_block *sb, void *inum_obj) | |||
245 | gfs2_glock_dq_uninit(&rgd_gh); | 245 | gfs2_glock_dq_uninit(&rgd_gh); |
246 | gfs2_glock_dq_uninit(&ri_gh); | 246 | gfs2_glock_dq_uninit(&ri_gh); |
247 | 247 | ||
248 | inode = gfs2_inode_lookup(sb, inum->no_addr, fh_obj->imode); | 248 | inode = gfs2_inode_lookup(sb, fh_obj->imode, |
249 | inum->no_addr, | ||
250 | inum->no_formal_ino); | ||
249 | if (!inode) | 251 | if (!inode) |
250 | goto fail; | 252 | goto fail; |
251 | if (IS_ERR(inode)) { | 253 | if (IS_ERR(inode)) { |