Commit 9fe9ad42 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: intermezzo: clean up #includes

From: Randy Hron <rwhron@earthlink.net>

Remove duplicate #includes from fs/intermezzo.
parent 2a03a5bf
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include "intermezzo_fs.h" #include "intermezzo_fs.h"
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -35,15 +35,10 @@ ...@@ -35,15 +35,10 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/string.h>
#include <asm/uaccess.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <linux/smp_lock.h>
#include "intermezzo_fs.h" #include "intermezzo_fs.h"
#include "intermezzo_psdev.h" #include "intermezzo_psdev.h"
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/smp_lock.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/fsfilter.h> #include <linux/fsfilter.h>
......
...@@ -37,11 +37,6 @@ ...@@ -37,11 +37,6 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/smp_lock.h>
#include <linux/string.h>
#include <asm/uaccess.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <asm/segment.h> #include <asm/segment.h>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#define MAX_CHANNEL 16 #define MAX_CHANNEL 16
#define PROCNAME_SIZE 32 #define PROCNAME_SIZE 32
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/smp_lock.h>
/* represents state of an instance reached with /dev/intermezzo */ /* represents state of an instance reached with /dev/intermezzo */
/* communication pending & processing queues */ /* communication pending & processing queues */
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp_lock.h>
#include "intermezzo_fs.h" #include "intermezzo_fs.h"
#include "intermezzo_psdev.h" #include "intermezzo_psdev.h"
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp_lock.h>
#if defined(CONFIG_EXT3_FS) || defined (CONFIG_EXT3_FS_MODULE) #if defined(CONFIG_EXT3_FS) || defined (CONFIG_EXT3_FS_MODULE)
#include <linux/jbd.h> #include <linux/jbd.h>
#include <linux/ext3_fs.h> #include <linux/ext3_fs.h>
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp_lock.h>
#if defined(CONFIG_TMPFS) #if defined(CONFIG_TMPFS)
#include <linux/jbd.h> #include <linux/jbd.h>
#if defined(CONFIG_EXT3) #if defined(CONFIG_EXT3)
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp_lock.h>
#include "intermezzo_fs.h" #include "intermezzo_fs.h"
#include "intermezzo_psdev.h" #include "intermezzo_psdev.h"
......
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/string.h> #include <linux/string.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/vmalloc.h>
#include <asm/segment.h>
#include "intermezzo_lib.h" #include "intermezzo_lib.h"
#include "intermezzo_fs.h" #include "intermezzo_fs.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment