History

udf: Export superblock magic to userspace

Currently UDF superblock magic doesn't appear in any userspace header files and thus userspace apps have hard time checking for this fs. Let's export the magic to userspace as with any other filesystem.

Jan Kara committed 10 years ago

Commit 2a289001 parent a47241c2 files · +3 −3Browse files

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

Unified · Split

include/uapi/linux/magic.h+2−0
@@ -78,5 +78,7 @@ · 77 unmodified lines
78#define BTRFS_TEST_MAGIC 0x7372727978#define BTRFS_TEST_MAGIC 0x73727279
79#define NSFS_MAGIC 0x6e73667379#define NSFS_MAGIC 0x6e736673
80#define BPF_FS_MAGIC 0xcafe4a1180#define BPF_FS_MAGIC 0xcafe4a11
81/* Since UDF 2.01 is ISO 13346 based... */
82#define UDF_SUPER_MAGIC 0x15013346
81 83
82#endif /* __LINUX_MAGIC_H__ */84#endif /* __LINUX_MAGIC_H__ */