[XFS] move linux/log2.h header to xfs_linux.h
authorEric Sandeen <sandeen@sandeen.net>
Thu, 16 Aug 2007 06:25:23 +0000 (16:25 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Mon, 15 Oct 2007 06:40:46 +0000 (16:40 +1000)
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>
fs/xfs/linux-2.6/xfs_linux.h
fs/xfs/xfs_inode.c

index 330c4ba9d40445fad61b83c5da8ae1c45049d5c8..5617f3de4ff6673a715b35d7761e7864b5167a64 100644 (file)
@@ -75,6 +75,7 @@
 #include <linux/cpu.h>
 #include <linux/notifier.h>
 #include <linux/delay.h>
+#include <linux/log2.h>
 
 #include <asm/page.h>
 #include <asm/div64.h>
index cebcfcc06a9318e66689eda2000b1b943d338cae..bc9e7c8918091690b407c3d08dc1293c18c0e2fe 100644 (file)
@@ -50,8 +50,6 @@
 #include "xfs_acl.h"
 #include "xfs_filestream.h"
 
-#include <linux/log2.h>
-
 kmem_zone_t *xfs_ifork_zone;
 kmem_zone_t *xfs_inode_zone;
 kmem_zone_t *xfs_chashlist_zone;