summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/protocol.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-08-01 18:29:37 -0700
committerMike Marshall <hubcap@omnibond.com>2015-10-03 11:40:08 -0400
commit81b784b11ea65c5c591f4d963daed2111a1b4280 (patch)
treef0072207b6739c87e12461d91348a808fb225eac /fs/orangefs/protocol.h
parentcb987f3cbe3ced82496c802565b263844abfb0b9 (diff)
downloadlinux-81b784b11ea65c5c591f4d963daed2111a1b4280.tar.gz
linux-81b784b11ea65c5c591f4d963daed2111a1b4280.tar.bz2
linux-81b784b11ea65c5c591f4d963daed2111a1b4280.zip
Orangefs: Swap order of include files
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>
Diffstat (limited to 'fs/orangefs/protocol.h')
-rw-r--r--fs/orangefs/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/protocol.h b/fs/orangefs/protocol.h
index ca7cef9590d3..f571be21f66a 100644
--- a/fs/orangefs/protocol.h
+++ b/fs/orangefs/protocol.h
@@ -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>