Orangefs: Swap order of include files
authorGuenter Roeck <linux@roeck-us.net>
Sun, 2 Aug 2015 01:29:37 +0000 (18:29 -0700)
committerMike Marshall <hubcap@omnibond.com>
Sat, 3 Oct 2015 15:40:08 +0000 (11:40 -0400)
spinlock_types.h requires types from linux/types.h.
Including spinlock_types.h first may result in the following build errors,
as seen with arm:allmodconfig.

arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'

Fixes: deb4fb58ff73 ("Orangefs: kernel client part 2")
Cc: Mark Brown <broonie@kernel.org>
Cc: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/protocol.h

index ca7cef9..f571be2 100644 (file)
@@ -1,5 +1,5 @@
-#include <linux/spinlock_types.h>
 #include <linux/types.h>
+#include <linux/spinlock_types.h>
 #include <linux/slab.h>
 #include <linux/ioctl.h>