diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-05-08 03:28:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:07 -0400 |
commit | e63340ae6b6205fef26b40a75673d1c9c0c8bb90 (patch) | |
tree | 8d3212705515edec73c3936bb9e23c71d34a7b41 /fs/ext3 | |
parent | 04c9167f91e309c9c4ea982992aa08e83b2eb42e (diff) |
header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed.
Suggested by Al Viro.
Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/dir.c | 1 | ||||
-rw-r--r-- | fs/ext3/inode.c | 1 | ||||
-rw-r--r-- | fs/ext3/namei.c | 1 | ||||
-rw-r--r-- | fs/ext3/resize.c | 1 | ||||
-rw-r--r-- | fs/ext3/xattr_security.c | 1 | ||||
-rw-r--r-- | fs/ext3/xattr_trusted.c | 1 | ||||
-rw-r--r-- | fs/ext3/xattr_user.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/fs/ext3/dir.c b/fs/ext3/dir.c index 665adee99b31..852869840f24 100644 --- a/fs/ext3/dir.c +++ b/fs/ext3/dir.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/jbd.h> | 25 | #include <linux/jbd.h> |
26 | #include <linux/ext3_fs.h> | 26 | #include <linux/ext3_fs.h> |
27 | #include <linux/buffer_head.h> | 27 | #include <linux/buffer_head.h> |
28 | #include <linux/smp_lock.h> | ||
29 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
30 | #include <linux/rbtree.h> | 29 | #include <linux/rbtree.h> |
31 | 30 | ||
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index 2088666e80ba..f9bcddbd2ef1 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <linux/time.h> | 27 | #include <linux/time.h> |
28 | #include <linux/ext3_jbd.h> | 28 | #include <linux/ext3_jbd.h> |
29 | #include <linux/jbd.h> | 29 | #include <linux/jbd.h> |
30 | #include <linux/smp_lock.h> | ||
31 | #include <linux/highuid.h> | 30 | #include <linux/highuid.h> |
32 | #include <linux/pagemap.h> | 31 | #include <linux/pagemap.h> |
33 | #include <linux/quotaops.h> | 32 | #include <linux/quotaops.h> |
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index 7edb617fd33d..9bb046df827a 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <linux/quotaops.h> | 36 | #include <linux/quotaops.h> |
37 | #include <linux/buffer_head.h> | 37 | #include <linux/buffer_head.h> |
38 | #include <linux/bio.h> | 38 | #include <linux/bio.h> |
39 | #include <linux/smp_lock.h> | ||
40 | 39 | ||
41 | #include "namei.h" | 40 | #include "namei.h" |
42 | #include "xattr.h" | 41 | #include "xattr.h" |
diff --git a/fs/ext3/resize.c b/fs/ext3/resize.c index ecf89904c113..2c97e09c6c6b 100644 --- a/fs/ext3/resize.c +++ b/fs/ext3/resize.c | |||
@@ -11,7 +11,6 @@ | |||
11 | 11 | ||
12 | #define EXT3FS_DEBUG | 12 | #define EXT3FS_DEBUG |
13 | 13 | ||
14 | #include <linux/smp_lock.h> | ||
15 | #include <linux/ext3_jbd.h> | 14 | #include <linux/ext3_jbd.h> |
16 | 15 | ||
17 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
diff --git a/fs/ext3/xattr_security.c b/fs/ext3/xattr_security.c index b9c40c15647b..821efaf2b94e 100644 --- a/fs/ext3/xattr_security.c +++ b/fs/ext3/xattr_security.c | |||
@@ -6,7 +6,6 @@ | |||
6 | #include <linux/module.h> | 6 | #include <linux/module.h> |
7 | #include <linux/string.h> | 7 | #include <linux/string.h> |
8 | #include <linux/fs.h> | 8 | #include <linux/fs.h> |
9 | #include <linux/smp_lock.h> | ||
10 | #include <linux/ext3_jbd.h> | 9 | #include <linux/ext3_jbd.h> |
11 | #include <linux/ext3_fs.h> | 10 | #include <linux/ext3_fs.h> |
12 | #include <linux/security.h> | 11 | #include <linux/security.h> |
diff --git a/fs/ext3/xattr_trusted.c b/fs/ext3/xattr_trusted.c index 86d91f1186dc..0327497a55ce 100644 --- a/fs/ext3/xattr_trusted.c +++ b/fs/ext3/xattr_trusted.c | |||
@@ -9,7 +9,6 @@ | |||
9 | #include <linux/string.h> | 9 | #include <linux/string.h> |
10 | #include <linux/capability.h> | 10 | #include <linux/capability.h> |
11 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
12 | #include <linux/smp_lock.h> | ||
13 | #include <linux/ext3_jbd.h> | 12 | #include <linux/ext3_jbd.h> |
14 | #include <linux/ext3_fs.h> | 13 | #include <linux/ext3_fs.h> |
15 | #include "xattr.h" | 14 | #include "xattr.h" |
diff --git a/fs/ext3/xattr_user.c b/fs/ext3/xattr_user.c index a85a0a17c4fd..1abd8f92c440 100644 --- a/fs/ext3/xattr_user.c +++ b/fs/ext3/xattr_user.c | |||
@@ -8,7 +8,6 @@ | |||
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
9 | #include <linux/string.h> | 9 | #include <linux/string.h> |
10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
11 | #include <linux/smp_lock.h> | ||
12 | #include <linux/ext3_jbd.h> | 11 | #include <linux/ext3_jbd.h> |
13 | #include <linux/ext3_fs.h> | 12 | #include <linux/ext3_fs.h> |
14 | #include "xattr.h" | 13 | #include "xattr.h" |