# Add lock_gulm to the build system.
diff -urN -p linux-2.6.9/fs/Kconfig linux/fs/Kconfig
--- linux-2.6.9/fs/Kconfig	2004-12-17 20:04:05.713550299 -0600
+++ linux/fs/Kconfig	2004-12-17 20:04:05.724547742 -0600
@@ -1802,6 +1802,12 @@ config LOCK_DLM
 	help
 	  A lock module that allows GFS to use a Distributed Lock Manager.
 
+config LOCK_GULM
+	tristate "Lock GULM"
+	depends on LOCK_HARNESS
+	help
+	  A lock module that allows GFS to use a Failover Lock Manager.
+
 endmenu
 
 menu "Partition Types"
diff -urN -p linux-2.6.9/fs/gfs_locking/Makefile linux/fs/gfs_locking/Makefile
--- linux-2.6.9/fs/gfs_locking/Makefile	2004-12-17 20:04:05.714550067 -0600
+++ linux/fs/gfs_locking/Makefile	2004-12-17 20:04:05.724547742 -0600
@@ -13,4 +13,5 @@
 obj-$(CONFIG_LOCK_HARNESS)	+= lock_harness/
 obj-$(CONFIG_LOCK_NOLOCK)	+= lock_nolock/
 obj-$(CONFIG_LOCK_DLM)		+= lock_dlm/
+obj-$(CONFIG_LOCK_GULM)		+= lock_gulm/
 
diff -urN -p linux-2.6.9/fs/gfs_locking/lock_gulm/Makefile linux/fs/gfs_locking/lock_gulm/Makefile
--- linux-2.6.9/fs/gfs_locking/lock_gulm/Makefile	1969-12-31 18:00:00.000000000 -0600
+++ linux/fs/gfs_locking/lock_gulm/Makefile	2004-12-17 20:04:05.724547742 -0600
@@ -0,0 +1,31 @@
+###############################################################################
+###############################################################################
+##
+##  Copyright (C) 2004 Red Hat, Inc.  All rights reserved.
+##
+##  This copyrighted material is made available to anyone wishing to use,
+##  modify, copy, or redistribute it subject to the terms and conditions
+##  of the GNU General Public License v.2.
+##
+###############################################################################
+###############################################################################
+
+obj-$(CONFIG_LOCK_GULM) += lock_gulm.o
+
+lock_gulm-y	:=	gulm_core.o \
+		gulm_firstlock.o \
+		gulm_fs.o \
+		gulm_jid.o \
+		gulm_lock_queue.o \
+		gulm_lt.o \
+		gulm_main.o \
+		gulm_plock.o \
+		handler.o \
+		lg_core.o \
+		lg_lock.o \
+		lg_main.o \
+		utils_tostr.o \
+		xdr_base.o \
+		xdr_io.o \
+		xdr_socket.o
+
