# Add lock_nolock 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:03:58.371258623 -0600
+++ linux/fs/Kconfig	2004-12-17 20:03:58.382256062 -0600
@@ -1790,6 +1790,12 @@ config GFS_FS
 	  GFS is perfect consistency -- changes made to the filesystem on one
 	  machine show up immediately on all other machines in the cluster.
 
+config LOCK_NOLOCK
+	tristate "Lock Nolock"
+	depends on LOCK_HARNESS
+	help
+	  A "fake" lock module that allows GFS to run as a local filesystem.
+
 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:03:54.725107749 -0600
+++ linux/fs/gfs_locking/Makefile	2004-12-17 20:03:58.382256062 -0600
@@ -11,4 +11,5 @@
 ###############################################################################
 
 obj-$(CONFIG_LOCK_HARNESS)	+= lock_harness/
+obj-$(CONFIG_LOCK_NOLOCK)	+= lock_nolock/
 
diff -urN -p linux-2.6.9/fs/gfs_locking/lock_nolock/Makefile linux/fs/gfs_locking/lock_nolock/Makefile
--- linux-2.6.9/fs/gfs_locking/lock_nolock/Makefile	1969-12-31 18:00:00.000000000 -0600
+++ linux/fs/gfs_locking/lock_nolock/Makefile	2004-12-17 20:03:58.382256062 -0600
@@ -0,0 +1,16 @@
+###############################################################################
+###############################################################################
+##
+##  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_NOLOCK) += lock_nolock.o
+
+lock_nolock-y	:= main.o
+
