summaryrefslogtreecommitdiff
path: root/include/uapi/linux/magic.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-01-10 18:28:33 -0500
committerIlya Dryomov <idryomov@gmail.com>2022-01-13 13:40:07 +0100
commita0b3a15eab6bc2e90008460b646d53e7d9dcdbbb (patch)
treef5c2d4552c96a1ce5a90f66c1de85059ed0b123e /include/uapi/linux/magic.h
parent76bdbc7ac777adb6bc316bfe3f57b3de93c50985 (diff)
ceph: move CEPH_SUPER_MAGIC definition to magic.h
The uapi headers are missing the ceph definition. Move it there so userland apps can ID cephfs. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/uapi/linux/magic.h')
-rw-r--r--include/uapi/linux/magic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index 35687dcb1a42..53a3c20394cf 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -6,6 +6,7 @@
#define AFFS_SUPER_MAGIC 0xadff
#define AFS_SUPER_MAGIC 0x5346414F
#define AUTOFS_SUPER_MAGIC 0x0187
+#define CEPH_SUPER_MAGIC 0x00c36400
#define CODA_SUPER_MAGIC 0x73757245
#define CRAMFS_MAGIC 0x28cd3d45 /* some random number */
#define CRAMFS_MAGIC_WEND 0x453dcd28 /* magic number with the wrong endianess */