summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-05-18 14:54:58 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-05-18 14:54:58 -0400
commitbd8968010a9a08e67a0ddb3ddee9feb8882e8c2f (patch)
treec3960853310112779e2ce583a8c8b524777cb70d
parent1b50259bc33f2adfcb4c5fba4b740bf80789df22 (diff)
downloadlwn-bd8968010a9a08e67a0ddb3ddee9feb8882e8c2f.tar.gz
lwn-bd8968010a9a08e67a0ddb3ddee9feb8882e8c2f.zip
[GFS2] Remove semaphore.h from C files
We no longer use semaphores, everything has been converted to mutex or rwsem, so we don't need to include this header any more. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r--fs/gfs2/acl.c1
-rw-r--r--fs/gfs2/bmap.c1
-rw-r--r--fs/gfs2/daemon.c1
-rw-r--r--fs/gfs2/eaops.c1
-rw-r--r--fs/gfs2/eattr.c1
-rw-r--r--fs/gfs2/glock.c1
-rw-r--r--fs/gfs2/glops.c1
-rw-r--r--fs/gfs2/inode.c1
-rw-r--r--fs/gfs2/lm.c1
-rw-r--r--fs/gfs2/log.c1
-rw-r--r--fs/gfs2/lops.c1
-rw-r--r--fs/gfs2/lvb.c1
-rw-r--r--fs/gfs2/main.c1
-rw-r--r--fs/gfs2/meta_io.c1
-rw-r--r--fs/gfs2/mount.c1
-rw-r--r--fs/gfs2/ondisk.c1
-rw-r--r--fs/gfs2/ops_address.c1
-rw-r--r--fs/gfs2/ops_dentry.c1
-rw-r--r--fs/gfs2/ops_export.c1
-rw-r--r--fs/gfs2/ops_file.c1
-rw-r--r--fs/gfs2/ops_fstype.c1
-rw-r--r--fs/gfs2/ops_inode.c1
-rw-r--r--fs/gfs2/ops_super.c1
-rw-r--r--fs/gfs2/ops_vm.c1
-rw-r--r--fs/gfs2/page.c1
-rw-r--r--fs/gfs2/quota.c1
-rw-r--r--fs/gfs2/recovery.c1
-rw-r--r--fs/gfs2/rgrp.c1
-rw-r--r--fs/gfs2/super.c1
-rw-r--r--fs/gfs2/sys.c1
-rw-r--r--fs/gfs2/trans.c1
-rw-r--r--fs/gfs2/unlinked.c1
-rw-r--r--fs/gfs2/util.c1
33 files changed, 0 insertions, 33 deletions
diff --git a/fs/gfs2/acl.c b/fs/gfs2/acl.c
index e9d05fe94357..d822256c7a53 100644
--- a/fs/gfs2/acl.c
+++ b/fs/gfs2/acl.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/posix_acl.h>
#include <linux/posix_acl_xattr.h>
-#include <asm/semaphore.h>
#include <linux/gfs2_ondisk.h>
#include "gfs2.h"
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 31c3e92820e4..32b1d66e68e1 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/daemon.c b/fs/gfs2/daemon.c
index c2b5d69044c6..aa4d13002bb4 100644
--- a/fs/gfs2/daemon.c
+++ b/fs/gfs2/daemon.c
@@ -15,7 +15,6 @@
#include <linux/kthread.h>
#include <linux/delay.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/eaops.c b/fs/gfs2/eaops.c
index 1b376eceb6af..e5e2565ac292 100644
--- a/fs/gfs2/eaops.c
+++ b/fs/gfs2/eaops.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/xattr.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"
diff --git a/fs/gfs2/eattr.c b/fs/gfs2/eattr.c
index af4f1c3f5929..3930304bc511 100644
--- a/fs/gfs2/eattr.c
+++ b/fs/gfs2/eattr.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/xattr.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 9d4ae094fa2d..2029df4b349f 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -18,7 +18,6 @@
#include <linux/kref.h>
#include <linux/kallsyms.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index d180c89dd567..5e8ec6a61824 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -13,7 +13,6 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 5bc9542c7fcb..d218cbf98aa7 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -16,7 +16,6 @@
#include <linux/sort.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/lm.c b/fs/gfs2/lm.c
index 06a785e9b582..600b2bc48ba9 100644
--- a/fs/gfs2/lm.c
+++ b/fs/gfs2/lm.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/delay.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 02d31e35f0ca..0e5e9cf9dd46 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index 4d90eb311497..22a4f038e3b9 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -13,7 +13,6 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/lvb.c b/fs/gfs2/lvb.c
index 47867db92ea1..a56b23e0a3f1 100644
--- a/fs/gfs2/lvb.c
+++ b/fs/gfs2/lvb.c
@@ -13,7 +13,6 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c
index c8d17b7ba60b..b0a4582e78db 100644
--- a/fs/gfs2/main.c
+++ b/fs/gfs2/main.c
@@ -15,7 +15,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index fe46d563d3c8..92c1a3f823d8 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -18,7 +18,6 @@
#include <linux/swap.h>
#include <linux/delay.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/mount.c b/fs/gfs2/mount.c
index e90ea7d32f9e..7e001356824e 100644
--- a/fs/gfs2/mount.c
+++ b/fs/gfs2/mount.c
@@ -13,7 +13,6 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c
index f6aba3b156c2..90d398d2d047 100644
--- a/fs/gfs2/ondisk.c
+++ b/fs/gfs2/ondisk.c
@@ -12,7 +12,6 @@
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linux/buffer_head.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include <linux/gfs2_ondisk.h>
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c
index d89179b316fe..6d2fc107bbd3 100644
--- a/fs/gfs2/ops_address.c
+++ b/fs/gfs2/ops_address.c
@@ -17,7 +17,6 @@
#include <linux/mpage.h>
#include <linux/fs.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/ops_dentry.c b/fs/gfs2/ops_dentry.c
index 958371076093..6cbff891063e 100644
--- a/fs/gfs2/ops_dentry.c
+++ b/fs/gfs2/ops_dentry.c
@@ -15,7 +15,6 @@
#include <linux/smp_lock.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/ops_export.c b/fs/gfs2/ops_export.c
index be16c68263d1..a90397f28196 100644
--- a/fs/gfs2/ops_export.c
+++ b/fs/gfs2/ops_export.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index cf724800e0e9..00522fc927cd 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -22,7 +22,6 @@
#include <linux/ext2_fs.h>
#include <linux/crc32.h>
#include <linux/iflags.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 44c64effc964..5899ac33451c 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -16,7 +16,6 @@
#include <linux/blkdev.h>
#include <linux/kthread.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index b25ec4c8e56a..c8aeaafec50f 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -19,7 +19,6 @@
#include <linux/posix_acl.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 5910c7b5c846..3661b2f25b8f 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -19,7 +19,6 @@
#include <linux/kthread.h>
#include <linux/delay.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/ops_vm.c b/fs/gfs2/ops_vm.c
index d67248cae9b9..23161be5db1f 100644
--- a/fs/gfs2/ops_vm.c
+++ b/fs/gfs2/ops_vm.c
@@ -15,7 +15,6 @@
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/page.c b/fs/gfs2/page.c
index 495db5594164..bc80247060f4 100644
--- a/fs/gfs2/page.c
+++ b/fs/gfs2/page.c
@@ -15,7 +15,6 @@
#include <linux/pagemap.h>
#include <linux/mm.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
index d49ff43b3a86..adfb8062f5de 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -45,7 +45,6 @@
#include <linux/sort.h>
#include <linux/fs.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c
index 87adebea3bc3..527544b68a6f 100644
--- a/fs/gfs2/recovery.c
+++ b/fs/gfs2/recovery.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 6d918a7c6222..1b1a2aee8f6b 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/fs.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 75a8def8d0bc..788dbea45c87 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/crc32.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index f05ba8f69132..bbfa9e16abc3 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -15,7 +15,6 @@
#include <linux/module.h>
#include <linux/kobject.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c
index 18c606d07126..a4c414c59351 100644
--- a/fs/gfs2/trans.c
+++ b/fs/gfs2/trans.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
#include <linux/kallsyms.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/unlinked.c b/fs/gfs2/unlinked.c
index 2824b1665f95..9ed0a6b8fc63 100644
--- a/fs/gfs2/unlinked.c
+++ b/fs/gfs2/unlinked.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/kthread.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include "gfs2.h"
#include "lm_interface.h"
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c
index 7cd9e25639c4..7c3806c67406 100644
--- a/fs/gfs2/util.c
+++ b/fs/gfs2/util.c
@@ -14,7 +14,6 @@
#include <linux/buffer_head.h>
#include <linux/crc32.h>
#include <linux/gfs2_ondisk.h>
-#include <asm/semaphore.h>
#include <asm/uaccess.h>
#include "gfs2.h"