Commit d2df5e21 authored by J. R. Okajima's avatar J. R. Okajima
Browse files

aufs: possible bugfix, for userspace use limits.h instead of linux/limits.h


Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
(cherry picked from commit 9e47f923ad8bf55c272fed3d3699fa5df14b6f72)
parent d75d3482
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
#define pr_fmt(fmt) \ #define pr_fmt(fmt) \
AUFS_NAME " %s:%d:%.*s[%d]: " fmt, __func__, __LINE__, \ AUFS_NAME " %s:%d:%.*s[%d]: " fmt, __func__, __LINE__, \
(int)sizeof(current->comm), current->comm, current->pid (int)sizeof(current->comm), current->comm, current->pid
#include <linux/limits.h>
#else #else
#include <stdint.h> #include <stdint.h>
#include <sys/types.h> #include <sys/types.h>
#include <limits.h>
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#include <linux/limits.h>
#define AUFS_VERSION "5.x-rcN" #define AUFS_VERSION "5.x-rcN"
/* todo? move this to linux-2.6.19/include/magic.h */ /* todo? move this to linux-2.6.19/include/magic.h */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment