Browse Source

[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>
Eric Sandeen 17 years ago
parent
commit
af3a2e8a3f
2 changed files with 1 additions and 2 deletions
  1. 1 0
      fs/xfs/linux-2.6/xfs_linux.h
  2. 0 2
      fs/xfs/xfs_inode.c

+ 1 - 0
fs/xfs/linux-2.6/xfs_linux.h

@@ -75,6 +75,7 @@
 #include <linux/cpu.h>
 #include <linux/cpu.h>
 #include <linux/notifier.h>
 #include <linux/notifier.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
+#include <linux/log2.h>
 
 
 #include <asm/page.h>
 #include <asm/page.h>
 #include <asm/div64.h>
 #include <asm/div64.h>

+ 0 - 2
fs/xfs/xfs_inode.c

@@ -50,8 +50,6 @@
 #include "xfs_acl.h"
 #include "xfs_acl.h"
 #include "xfs_filestream.h"
 #include "xfs_filestream.h"
 
 
-#include <linux/log2.h>
-
 kmem_zone_t *xfs_ifork_zone;
 kmem_zone_t *xfs_ifork_zone;
 kmem_zone_t *xfs_inode_zone;
 kmem_zone_t *xfs_inode_zone;
 kmem_zone_t *xfs_chashlist_zone;
 kmem_zone_t *xfs_chashlist_zone;