migrate_mode.h is not exported to user mode
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jan 2012 00:41:32 +0000 (11:41 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Jan 2012 01:17:45 +0000 (17:17 -0800)
so move its include into fs.h inside the __KERNEL__ protection.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fs.h

index 4b3a41fe22bf097eeb5533fa06bf5902019cc09d..386da09f229dfad8ff8ef5600c8045f221ae862f 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/ioctl.h>
 #include <linux/blk_types.h>
 #include <linux/types.h>
-#include <linux/migrate_mode.h>
 
 /*
  * It's silly to have NR_OPEN bigger than NR_FILE, but you can change
@@ -397,6 +396,7 @@ struct inodes_stat_t {
 #include <linux/rculist_bl.h>
 #include <linux/atomic.h>
 #include <linux/shrinker.h>
+#include <linux/migrate_mode.h>
 
 #include <asm/byteorder.h>