diff options
author | Fabio Massimo Di Nitto <fabbione@ubuntu.com> | 2006-09-19 07:56:29 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-19 08:45:18 -0400 |
commit | 7d308590ae60d1f038a54a94e78a385c5c163452 (patch) | |
tree | f672724840a07022ff6deb8022082af35dbad44c /fs/gfs2/locking | |
parent | f3b30912e0eab0e4160c7649a5f2b10be68027b9 (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.h | 2 | ||||
-rw-r--r-- | fs/gfs2/locking/nolock/main.c | 3 |
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 3a45c020d01..33af707a4d3 100644 --- a/fs/gfs2/locking/dlm/lock_dlm.h +++ b/fs/gfs2/locking/dlm/lock_dlm.h @@ -26,7 +26,7 @@ #include <net/sock.h> #include <linux/dlm.h> -#include "../../lm_interface.h" +#include <linux/lm_interface.h> /* * 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 7b263fc6c27..acfbc941f31 100644 --- a/fs/gfs2/locking/nolock/main.c +++ b/fs/gfs2/locking/nolock/main.c @@ -14,8 +14,7 @@ #include <linux/types.h> #include <linux/fs.h> #include <linux/smp_lock.h> - -#include "../../lm_interface.h" +#include <linux/lm_interface.h> struct nolock_lockspace { unsigned int nl_lvb_size; |