aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_export.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/gfs2/ops_export.c b/fs/gfs2/ops_export.c
index b4e7b8775315..6ea979c74b6b 100644
--- a/fs/gfs2/ops_export.c
+++ b/fs/gfs2/ops_export.c
@@ -22,6 +22,7 @@
22#include "glock.h" 22#include "glock.h"
23#include "glops.h" 23#include "glops.h"
24#include "inode.h" 24#include "inode.h"
25#include "ops_dentry.h"
25#include "ops_export.h" 26#include "ops_export.h"
26#include "rgrp.h" 27#include "rgrp.h"
27#include "util.h" 28#include "util.h"
@@ -189,6 +190,7 @@ static struct dentry *gfs2_get_parent(struct dentry *child)
189 return ERR_PTR(-ENOMEM); 190 return ERR_PTR(-ENOMEM);
190 } 191 }
191 192
193 dentry->d_op = &gfs2_dops;
192 return dentry; 194 return dentry;
193} 195}
194 196
@@ -269,6 +271,7 @@ out_inode:
269 return ERR_PTR(-ENOMEM); 271 return ERR_PTR(-ENOMEM);
270 } 272 }
271 273
274 dentry->d_op = &gfs2_dops;
272 return dentry; 275 return dentry;
273 276
274fail_rgd: 277fail_rgd: