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/nfs | |
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/nfs')
-rw-r--r-- | fs/nfs/client.c | 1 | ||||
-rw-r--r-- | fs/nfs/direct.c | 1 | ||||
-rw-r--r-- | fs/nfs/getroot.c | 1 | ||||
-rw-r--r-- | fs/nfs/nfs3proc.c | 1 | ||||
-rw-r--r-- | fs/nfs/nfs4renewd.c | 1 | ||||
-rw-r--r-- | fs/nfs/proc.c | 1 | ||||
-rw-r--r-- | fs/nfs/symlink.c | 1 | ||||
-rw-r--r-- | fs/nfs/write.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 5bd03b97002e..50c6821bad26 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <linux/nfs_mount.h> | 27 | #include <linux/nfs_mount.h> |
28 | #include <linux/nfs4_mount.h> | 28 | #include <linux/nfs4_mount.h> |
29 | #include <linux/lockd/bind.h> | 29 | #include <linux/lockd/bind.h> |
30 | #include <linux/smp_lock.h> | ||
31 | #include <linux/seq_file.h> | 30 | #include <linux/seq_file.h> |
32 | #include <linux/mount.h> | 31 | #include <linux/mount.h> |
33 | #include <linux/nfs_idmap.h> | 32 | #include <linux/nfs_idmap.h> |
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 889de60f8a84..345aa5c0f382 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <linux/errno.h> | 41 | #include <linux/errno.h> |
42 | #include <linux/sched.h> | 42 | #include <linux/sched.h> |
43 | #include <linux/kernel.h> | 43 | #include <linux/kernel.h> |
44 | #include <linux/smp_lock.h> | ||
45 | #include <linux/file.h> | 44 | #include <linux/file.h> |
46 | #include <linux/pagemap.h> | 45 | #include <linux/pagemap.h> |
47 | #include <linux/kref.h> | 46 | #include <linux/kref.h> |
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c index 6ef268f7c300..234778576f09 100644 --- a/fs/nfs/getroot.c +++ b/fs/nfs/getroot.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/nfs_mount.h> | 25 | #include <linux/nfs_mount.h> |
26 | #include <linux/nfs4_mount.h> | 26 | #include <linux/nfs4_mount.h> |
27 | #include <linux/lockd/bind.h> | 27 | #include <linux/lockd/bind.h> |
28 | #include <linux/smp_lock.h> | ||
29 | #include <linux/seq_file.h> | 28 | #include <linux/seq_file.h> |
30 | #include <linux/mount.h> | 29 | #include <linux/mount.h> |
31 | #include <linux/nfs_idmap.h> | 30 | #include <linux/nfs_idmap.h> |
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index 7d0371e2bad5..45268d6def2e 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/nfs_fs.h> | 16 | #include <linux/nfs_fs.h> |
17 | #include <linux/nfs_page.h> | 17 | #include <linux/nfs_page.h> |
18 | #include <linux/lockd/bind.h> | 18 | #include <linux/lockd/bind.h> |
19 | #include <linux/smp_lock.h> | ||
20 | #include <linux/nfs_mount.h> | 19 | #include <linux/nfs_mount.h> |
21 | 20 | ||
22 | #include "iostat.h" | 21 | #include "iostat.h" |
diff --git a/fs/nfs/nfs4renewd.c b/fs/nfs/nfs4renewd.c index f5f4430fb2a4..0505ca124034 100644 --- a/fs/nfs/nfs4renewd.c +++ b/fs/nfs/nfs4renewd.c | |||
@@ -43,7 +43,6 @@ | |||
43 | * child task framework of the RPC layer? | 43 | * child task framework of the RPC layer? |
44 | */ | 44 | */ |
45 | 45 | ||
46 | #include <linux/smp_lock.h> | ||
47 | #include <linux/mm.h> | 46 | #include <linux/mm.h> |
48 | #include <linux/pagemap.h> | 47 | #include <linux/pagemap.h> |
49 | #include <linux/sunrpc/sched.h> | 48 | #include <linux/sunrpc/sched.h> |
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 1dcf56de9482..7be0ee2782cb 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <linux/nfs_fs.h> | 43 | #include <linux/nfs_fs.h> |
44 | #include <linux/nfs_page.h> | 44 | #include <linux/nfs_page.h> |
45 | #include <linux/lockd/bind.h> | 45 | #include <linux/lockd/bind.h> |
46 | #include <linux/smp_lock.h> | ||
47 | #include "internal.h" | 46 | #include "internal.h" |
48 | 47 | ||
49 | #define NFSDBG_FACILITY NFSDBG_PROC | 48 | #define NFSDBG_FACILITY NFSDBG_PROC |
diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c index bc2821331c29..83e865a16ad1 100644 --- a/fs/nfs/symlink.c +++ b/fs/nfs/symlink.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/string.h> | 24 | #include <linux/string.h> |
25 | #include <linux/smp_lock.h> | ||
26 | #include <linux/namei.h> | 25 | #include <linux/namei.h> |
27 | 26 | ||
28 | /* Symlink caching in the page cache is even more simplistic | 27 | /* Symlink caching in the page cache is even more simplistic |
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 5d44b8bd1070..522cd413906e 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/backing-dev.h> | 21 | #include <linux/backing-dev.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <asm/uaccess.h> |
24 | #include <linux/smp_lock.h> | ||
25 | 24 | ||
26 | #include "delegation.h" | 25 | #include "delegation.h" |
27 | #include "internal.h" | 26 | #include "internal.h" |