diff options
author | Jan Kara | 2016-04-28 10:40:09 +0200 |
---|---|---|
committer | Jan Kara | 2016-04-28 10:43:31 +0200 |
commit | 2a28900be20640fcd1e548b1e3bad79e8221fcf9 (patch) | |
tree | be3bd2ac8da67d09cba33add39d2eda15067a48e /include/uapi | |
parent | a47241cdeee2689ee7089ec95cadfcf66588fbdb (diff) |
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.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/magic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index 0de181ad73d5..546b38886e11 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -78,5 +78,7 @@ #define BTRFS_TEST_MAGIC 0x73727279 #define NSFS_MAGIC 0x6e736673 #define BPF_FS_MAGIC 0xcafe4a11 +/* Since UDF 2.01 is ISO 13346 based... */ +#define UDF_SUPER_MAGIC 0x15013346 #endif /* __LINUX_MAGIC_H__ */ |