From d183ef46ae39ef917c52cac3f4661abdf31b9062 Mon Sep 17 00:00:00 2001 From: Robert S Peterson Date: Fri, 5 May 2006 16:29:50 -0400 Subject: [PATCH] --- yaml --- r: 38683 b: refs/heads/master c: 5bb76af1e089ac186c15c6aa792340d22b63d4b4 h: refs/heads/master i: 38681: c4f22a0cb396c19ed173335384bbe449f71b6fab 38679: d5ce4eb3570332cc87580477e9a618c455c72ca6 v: v3 --- [refs] | 2 +- trunk/fs/gfs2/ops_fstype.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d758a8223624..99c4ab3d365a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 97a35d1e5fab9ff8de27814082b78b2fc9ad94f0 +refs/heads/master: 5bb76af1e089ac186c15c6aa792340d22b63d4b4 diff --git a/trunk/fs/gfs2/ops_fstype.c b/trunk/fs/gfs2/ops_fstype.c index d19d98766aa5..f252723b37da 100644 --- a/trunk/fs/gfs2/ops_fstype.c +++ b/trunk/fs/gfs2/ops_fstype.c @@ -40,6 +40,8 @@ #define DO 0 #define UNDO 1 +extern struct dentry_operations gfs2_dops; + static struct gfs2_sbd *init_sbd(struct super_block *sb) { struct gfs2_sbd *sdp; @@ -357,6 +359,7 @@ static int init_sb(struct gfs2_sbd *sdp, int silent, int undo) error = -ENOMEM; iput(inode); } + sb->s_root->d_op = &gfs2_dops; out: gfs2_glock_dq_uninit(&sb_gh); return error;