aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking
diff options
context:
space:
mode:
authorFabio Massimo Di Nitto <fabbione@ubuntu.com>2006-09-19 01:56:29 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-19 08:45:18 -0400
commit7d308590ae60d1f038a54a94e78a385c5c163452 (patch)
treef672724840a07022ff6deb8022082af35dbad44c /fs/gfs2/locking
parentf3b30912e0eab0e4160c7649a5f2b10be68027b9 (diff)
[GFS2] Export lm_interface to kernel headers
lm_interface.h has a few out of the tree clients such as GFS1 and userland tools. Right now, these clients keeps a copy of the file in their build tree that can go out of sync. Move lm_interface.h to include/linux, export it to userland and clean up fs/gfs2 to use the new location. Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking')
-rw-r--r--fs/gfs2/locking/dlm/lock_dlm.h2
-rw-r--r--fs/gfs2/locking/nolock/main.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/gfs2/locking/dlm/lock_dlm.h b/fs/gfs2/locking/dlm/lock_dlm.h
index 3a45c020d01e..33af707a4d3f 100644
--- a/fs/gfs2/locking/dlm/lock_dlm.h
+++ b/fs/gfs2/locking/dlm/lock_dlm.h
@@ -26,7 +26,7 @@
26#include <net/sock.h> 26#include <net/sock.h>
27 27
28#include <linux/dlm.h> 28#include <linux/dlm.h>
29#include "../../lm_interface.h" 29#include <linux/lm_interface.h>
30 30
31/* 31/*
32 * Internally, we prefix things with gdlm_ and GDLM_ (for gfs-dlm) since a 32 * Internally, we prefix things with gdlm_ and GDLM_ (for gfs-dlm) since a
diff --git a/fs/gfs2/locking/nolock/main.c b/fs/gfs2/locking/nolock/main.c
index 7b263fc6c273..acfbc941f319 100644
--- a/fs/gfs2/locking/nolock/main.c
+++ b/fs/gfs2/locking/nolock/main.c
@@ -14,8 +14,7 @@
14#include <linux/types.h> 14#include <linux/types.h>
15#include <linux/fs.h> 15#include <linux/fs.h>
16#include <linux/smp_lock.h> 16#include <linux/smp_lock.h>
17 17#include <linux/lm_interface.h>
18#include "../../lm_interface.h"
19 18
20struct nolock_lockspace { 19struct nolock_lockspace {
21 unsigned int nl_lvb_size; 20 unsigned int nl_lvb_size;