aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking/dlm/sysfs.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-17 10:20:34 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 10:41:09 +0100
commit60b779cfc1fa52034a996ee12a23b62d32e86000 (patch)
tree0b72bc10ef735cb02f609d3ccccb38c636895b20 /fs/gfs2/locking/dlm/sysfs.c
parent[GFS2] gfs2/ops_file.c should #include "ops_inode.h" (diff)
downloadlinux-dev-60b779cfc1fa52034a996ee12a23b62d32e86000.tar.xz
linux-dev-60b779cfc1fa52034a996ee12a23b62d32e86000.zip
[GFS2] proper extern for gfs2/locking/dlm/mount.c:gdlm_ops
This patch adds a proper extern declaration for gdlm_ops in fs/gfs2/locking/dlm/lock_dlm.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/gfs2/locking/dlm/sysfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/locking/dlm/sysfs.c b/fs/gfs2/locking/dlm/sysfs.c
index a87b09839761..8479da47049c 100644
--- a/fs/gfs2/locking/dlm/sysfs.c
+++ b/fs/gfs2/locking/dlm/sysfs.c
@@ -12,8 +12,6 @@
#include "lock_dlm.h"
-extern struct lm_lockops gdlm_ops;
-
static ssize_t proto_name_show(struct gdlm_ls *ls, char *buf)
{
return sprintf(buf, "%s\n", gdlm_ops.lm_proto_name);