Skip to content

Commit bd89680

Browse files
committed
[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>
1 parent 1b50259 commit bd89680

33 files changed

Lines changed: 0 additions & 33 deletions

‎fs/gfs2/acl.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/buffer_head.h>
1515
#include <linux/posix_acl.h>
1616
#include <linux/posix_acl_xattr.h>
17-
#include <asm/semaphore.h>
1817
#include <linux/gfs2_ondisk.h>
1918

2019
#include "gfs2.h"

‎fs/gfs2/bmap.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/buffer_head.h>
1515
#include <linux/gfs2_ondisk.h>
1616
#include <linux/crc32.h>
17-
#include <asm/semaphore.h>
1817

1918
#include "gfs2.h"
2019
#include "lm_interface.h"

‎fs/gfs2/daemon.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <linux/kthread.h>
1616
#include <linux/delay.h>
1717
#include <linux/gfs2_ondisk.h>
18-
#include <asm/semaphore.h>
1918

2019
#include "gfs2.h"
2120
#include "lm_interface.h"

‎fs/gfs2/eaops.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/buffer_head.h>
1515
#include <linux/xattr.h>
1616
#include <linux/gfs2_ondisk.h>
17-
#include <asm/semaphore.h>
1817
#include <asm/uaccess.h>
1918

2019
#include "gfs2.h"

‎fs/gfs2/eattr.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/buffer_head.h>
1515
#include <linux/xattr.h>
1616
#include <linux/gfs2_ondisk.h>
17-
#include <asm/semaphore.h>
1817
#include <asm/uaccess.h>
1918

2019
#include "gfs2.h"

‎fs/gfs2/glock.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <linux/kref.h>
1919
#include <linux/kallsyms.h>
2020
#include <linux/gfs2_ondisk.h>
21-
#include <asm/semaphore.h>
2221
#include <asm/uaccess.h>
2322

2423
#include "gfs2.h"

‎fs/gfs2/glops.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/completion.h>
1414
#include <linux/buffer_head.h>
1515
#include <linux/gfs2_ondisk.h>
16-
#include <asm/semaphore.h>
1716

1817
#include "gfs2.h"
1918
#include "lm_interface.h"

‎fs/gfs2/inode.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <linux/sort.h>
1717
#include <linux/gfs2_ondisk.h>
1818
#include <linux/crc32.h>
19-
#include <asm/semaphore.h>
2019

2120
#include "gfs2.h"
2221
#include "lm_interface.h"

‎fs/gfs2/lm.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/buffer_head.h>
1515
#include <linux/delay.h>
1616
#include <linux/gfs2_ondisk.h>
17-
#include <asm/semaphore.h>
1817

1918
#include "gfs2.h"
2019
#include "lm_interface.h"

‎fs/gfs2/log.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/buffer_head.h>
1515
#include <linux/gfs2_ondisk.h>
1616
#include <linux/crc32.h>
17-
#include <asm/semaphore.h>
1817

1918
#include "gfs2.h"
2019
#include "lm_interface.h"

0 commit comments

Comments
 (0)