summaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-04-28 10:40:09 +0200
committerJan Kara <jack@suse.cz>2016-04-28 10:43:31 +0200
commit2a28900be20640fcd1e548b1e3bad79e8221fcf9 (patch)
treebe3bd2ac8da67d09cba33add39d2eda15067a48e /fs/udf
parenta47241cdeee2689ee7089ec95cadfcf66588fbdb (diff)
downloadlinux-stable-2a28900be20640fcd1e548b1e3bad79e8221fcf9.tar.gz
linux-stable-2a28900be20640fcd1e548b1e3bad79e8221fcf9.tar.bz2
linux-stable-2a28900be20640fcd1e548b1e3bad79e8221fcf9.zip
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 'fs/udf')
-rw-r--r--fs/udf/udf_sb.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h
index 1f32c7bd9f57..27b5335730c9 100644
--- a/fs/udf/udf_sb.h
+++ b/fs/udf/udf_sb.h
@@ -3,9 +3,7 @@
#include <linux/mutex.h>
#include <linux/bitops.h>
-
-/* Since UDF 2.01 is ISO 13346 based... */
-#define UDF_SUPER_MAGIC 0x15013346
+#include <linux/magic.h>
#define UDF_MAX_READ_VERSION 0x0250
#define UDF_MAX_WRITE_VERSION 0x0201