[PATCH 11/11 linux-next] hfsplus: export super magic value

2017-05-21 Thread Fabian Frederick
Filesystems generally use SUPER_MAGIC values from magic.h
instead of a local definition.

Signed-off-by: Fabian Frederick 
---
 fs/hfsplus/hfsplus_raw.h   | 1 -
 include/uapi/linux/magic.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/hfsplus/hfsplus_raw.h b/fs/hfsplus/hfsplus_raw.h
index 80554d4..246d22d 100644
--- a/fs/hfsplus/hfsplus_raw.h
+++ b/fs/hfsplus/hfsplus_raw.h
@@ -22,7 +22,6 @@
 #define HFSPLUS_VOLHEAD_SECTOR   2
 #define HFSPLUS_VOLHEAD_SIG 0x482b
 #define HFSPLUS_VOLHEAD_SIGX0x4858
-#define HFSPLUS_SUPER_MAGIC 0x482b
 #define HFSPLUS_MIN_VERSION  4
 #define HFSPLUS_CURRENT_VERSION  5
 
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index 8690964..c0df8e1 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -34,6 +34,7 @@
 #define FUTEXFS_SUPER_MAGIC0xBAD1DEA
 #define HFS_SUPER_MAGIC0x4244  /* "BD": HFS MDB (super 
block) */
 #define HFS_MFS_SUPER_MAGIC0xD2D7  /* MFS MDB (super block) */
+#define HFSPLUS_SUPER_MAGIC 0x482b
 #define HOSTFS_SUPER_MAGIC 0x00c0ffee
 #define HPFS_SUPER_MAGIC   0xf995e849
 #define HUGETLBFS_MAGIC0x958458f6  /* some random number */
-- 
2.9.3



[PATCH 11/11 linux-next] hfsplus: export super magic value

2017-05-21 Thread Fabian Frederick
Filesystems generally use SUPER_MAGIC values from magic.h
instead of a local definition.

Signed-off-by: Fabian Frederick 
---
 fs/hfsplus/hfsplus_raw.h   | 1 -
 include/uapi/linux/magic.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/hfsplus/hfsplus_raw.h b/fs/hfsplus/hfsplus_raw.h
index 80554d4..246d22d 100644
--- a/fs/hfsplus/hfsplus_raw.h
+++ b/fs/hfsplus/hfsplus_raw.h
@@ -22,7 +22,6 @@
 #define HFSPLUS_VOLHEAD_SECTOR   2
 #define HFSPLUS_VOLHEAD_SIG 0x482b
 #define HFSPLUS_VOLHEAD_SIGX0x4858
-#define HFSPLUS_SUPER_MAGIC 0x482b
 #define HFSPLUS_MIN_VERSION  4
 #define HFSPLUS_CURRENT_VERSION  5
 
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index 8690964..c0df8e1 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -34,6 +34,7 @@
 #define FUTEXFS_SUPER_MAGIC0xBAD1DEA
 #define HFS_SUPER_MAGIC0x4244  /* "BD": HFS MDB (super 
block) */
 #define HFS_MFS_SUPER_MAGIC0xD2D7  /* MFS MDB (super block) */
+#define HFSPLUS_SUPER_MAGIC 0x482b
 #define HOSTFS_SUPER_MAGIC 0x00c0ffee
 #define HPFS_SUPER_MAGIC   0xf995e849
 #define HUGETLBFS_MAGIC0x958458f6  /* some random number */
-- 
2.9.3