compat: Mask seq_user_ns as RHEL6.7 backports it
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 25 May 2015 09:48:32 +0000 (12:48 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 25 May 2015 11:45:57 +0000 (14:45 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
include/linux/compat-3.7.h

index 9724fa8..6aa94a0 100644 (file)
@@ -29,6 +29,7 @@
 
 #ifdef CONFIG_USER_NS
 
+#define seq_user_ns LINUX_BACKPORT(seq_user_ns)
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,38))
 static inline struct user_namespace *seq_user_ns(struct seq_file *seq)
 {