diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2007-08-16 02:25:23 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 02:40:46 -0400 |
commit | af3a2e8a3f3055ef269b09433bb28e33a0d1b8c0 (patch) | |
tree | e222949c263d87229d9d918caee86aed485e199a /fs | |
parent | 6385f4d5579ccada7bd1d9fefbdea5515457b10d (diff) |
[XFS] move linux/log2.h header to xfs_linux.h
Generally we try not to directly include linux header files in core xfs
code; xfs_linux.h is the spot for that.
SGI-PV: 968563
SGI-Modid: xfs-linux-melb:xfs-kern:29326a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_linux.h | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 330c4ba9d404..5617f3de4ff6 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h | |||
@@ -75,6 +75,7 @@ | |||
75 | #include <linux/cpu.h> | 75 | #include <linux/cpu.h> |
76 | #include <linux/notifier.h> | 76 | #include <linux/notifier.h> |
77 | #include <linux/delay.h> | 77 | #include <linux/delay.h> |
78 | #include <linux/log2.h> | ||
78 | 79 | ||
79 | #include <asm/page.h> | 80 | #include <asm/page.h> |
80 | #include <asm/div64.h> | 81 | #include <asm/div64.h> |
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index cebcfcc06a93..bc9e7c891809 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -50,8 +50,6 @@ | |||
50 | #include "xfs_acl.h" | 50 | #include "xfs_acl.h" |
51 | #include "xfs_filestream.h" | 51 | #include "xfs_filestream.h" |
52 | 52 | ||
53 | #include <linux/log2.h> | ||
54 | |||
55 | kmem_zone_t *xfs_ifork_zone; | 53 | kmem_zone_t *xfs_ifork_zone; |
56 | kmem_zone_t *xfs_inode_zone; | 54 | kmem_zone_t *xfs_inode_zone; |
57 | kmem_zone_t *xfs_chashlist_zone; | 55 | kmem_zone_t *xfs_chashlist_zone; |