[pre-patch-2.3.43-6] missing smp_lock #includes

From: Ben Fennema (bfennema@falcon.csc.calpoly.edu)
Date: Wed Feb 09 2000 - 21:49:45 EST


This patch should hopefully fix the compilation errors resulting from the
fsync patch not adding #include <linux/smp_lock.h> to all the files where
lock_kernel/unlock_kernel were added.

Ben

diff -u --recursive --new-file linux.old/linux/fs/coda/file.c linux/fs/coda/file.c
--- linux.old/linux/fs/coda/file.c Wed Feb 9 18:20:28 2000
+++ linux/fs/coda/file.c Wed Feb 9 18:22:31 2000
@@ -14,6 +14,7 @@
 #include <linux/stat.h>
 #include <linux/errno.h>
 #include <linux/locks.h>
+#include <linux/smp_lock.h>
 #include <asm/segment.h>
 #include <linux/string.h>
 #include <asm/uaccess.h>
diff -u --recursive --new-file linux.old/linux/fs/minix/fsync.c linux/fs/minix/fsync.c
--- linux.old/linux/fs/minix/fsync.c Wed Feb 9 18:20:28 2000
+++ linux/fs/minix/fsync.c Wed Feb 9 18:23:13 2000
@@ -16,6 +16,7 @@
 #include <linux/stat.h>
 #include <linux/fcntl.h>
 #include <linux/locks.h>
+#include <linux/smp_lock.h>
 
 #include <linux/fs.h>
 #include <linux/minix_fs.h>
diff -u --recursive --new-file linux.old/linux/fs/qnx4/fsync.c linux/fs/qnx4/fsync.c
--- linux.old/linux/fs/qnx4/fsync.c Wed Feb 9 18:20:29 2000
+++ linux/fs/qnx4/fsync.c Wed Feb 9 18:24:10 2000
@@ -16,6 +16,7 @@
 #include <linux/stat.h>
 #include <linux/fcntl.h>
 #include <linux/locks.h>
+#include <linux/smp_lock.h>
 
 #include <linux/fs.h>
 #include <linux/qnx4_fs.h>
diff -u --recursive --new-file linux.old/linux/fs/sysv/fsync.c linux/fs/sysv/fsync.c
--- linux.old/linux/fs/sysv/fsync.c Wed Feb 9 18:20:29 2000
+++ linux/fs/sysv/fsync.c Wed Feb 9 18:24:30 2000
@@ -16,6 +16,7 @@
 
 #include <linux/errno.h>
 #include <linux/stat.h>
+#include <linux/smp_lock.h>
 
 #include <linux/fs.h>
 #include <linux/sysv_fs.h>
diff -u --recursive --new-file linux.old/linux/fs/udf/fsync.c linux/fs/udf/fsync.c
--- linux.old/linux/fs/udf/fsync.c Wed Feb 9 18:20:29 2000
+++ linux/fs/udf/fsync.c Wed Feb 9 18:24:52 2000
@@ -27,6 +27,7 @@
 
 #include <linux/fs.h>
 #include <linux/locks.h>
+#include <linux/smp_lock.h>
 #include <linux/udf_fs.h>
 #include "udf_i.h"

 

-- 
Linux UDF - http://www.trylinux.com/projects/udf/index.html
Latest Is - udf-0.9.0 (http://www.csc.calpoly.edu/~bfennema/udf.html)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:16 EST