[PATCH 2/3] fs/gfs2: use the declaration of gfs2_dops in the header file instead

From: Denis Cheng
Date: Tue Jul 31 2007 - 06:31:30 EST


Signed-off-by: Denis Cheng <crquan@xxxxxxxxx>
---
fs/gfs2/ops_fstype.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index cf5aa50..9a5e840 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -28,6 +28,7 @@
#include "lm.h"
#include "mount.h"
#include "ops_fstype.h"
+#include "ops_dentry.h"
#include "ops_super.h"
#include "recovery.h"
#include "rgrp.h"
@@ -38,8 +39,6 @@
#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;
--
1.5.2.2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/