summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Campello <campello@google.com>2015-07-20 16:23:50 -0700
committerAmit Pundir <amit.pundir@linaro.org>2016-04-07 16:50:01 +0530
commitc4190692cd1fe8b3ba4a3953b3fc0d539d01560d (patch)
tree9aadcd5ab8625e088e77aa065cf446f23d040b55 /include
parentabf8eef2ed2e5270047a2ae524d161e0f2c04350 (diff)
Included sdcardfs source code for kernel 3.0
Only included the source code as is for kernel 3.0. Following patches take care of porting this file system to version 3.10. Change-Id: I09e76db77cd98a059053ba5b6fd88572a4b75b5b Signed-off-by: Daniel Campello <campello@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/namei.h3
-rw-r--r--include/uapi/linux/magic.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h
index d8c6334cd150..ef3b4f74eaf0 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -43,6 +43,9 @@ enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT, LAST_BIND};
#define LOOKUP_JUMPED 0x1000
#define LOOKUP_ROOT 0x2000
#define LOOKUP_EMPTY 0x4000
+#ifdef CONFIG_SDCARD_FS_CI_SEARCH
+#define LOOKUP_CASE_INSENSITIVE 0x8000
+#endif
extern int user_path_at_empty(int, const char __user *, unsigned, struct path *, int *empty);
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index accb036bbc9c..cfb5c406f344 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -52,6 +52,8 @@
#define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs"
#define REISER2FS_JR_SUPER_MAGIC_STRING "ReIsEr3Fs"
+#define SDCARDFS_SUPER_MAGIC 0xb550ca10
+
#define SMB_SUPER_MAGIC 0x517B
#define CGROUP_SUPER_MAGIC 0x27e0eb