History

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.

Jeff Layton committed 4 years ago

Commit a0b3a151 parent 76bdbc73 files · +3 −3Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/magic.h+1−0
@@ -6,6 +6,7 @@ · 5 unmodified lines
66 #define AFFS_SUPER_MAGIC 0xadff
77 #define AFS_SUPER_MAGIC 0x5346414F
88 #define AUTOFS_SUPER_MAGIC 0x0187
9+#define CEPH_SUPER_MAGIC 0x00c36400
910 #define CODA_SUPER_MAGIC 0x73757245
1011 #define CRAMFS_MAGIC 0x28cd3d45 /* some random number */
1112 #define CRAMFS_MAGIC_WEND 0x453dcd28 /* magic number with the wrong endianess */