diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-11-25 13:01:11 +0100 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-01-10 03:00:03 +0100 |
commit | 1ed147e29e505de819aaa5b57919c25348f72e1f (patch) | |
tree | f9d5db0ee6e4b1dda08cfd667ba4081eda1455b1 /fs | |
parent | exfat: fix i_blocks for files truncated over 4 GiB (diff) | |
download | linux-1ed147e29e505de819aaa5b57919c25348f72e1f.tar.xz linux-1ed147e29e505de819aaa5b57919c25348f72e1f.zip |
exfat: move super block magic number to magic.h
Move exfat superblock magic number from local definition to magic.h.
It is also needed by userspace programs that call fstatfs().
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/exfat/exfat_fs.h | 1 | ||||
-rw-r--r-- | fs/exfat/super.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/exfat/exfat_fs.h b/fs/exfat/exfat_fs.h index a8f5bc536dcf..9665fa0b2d56 100644 --- a/fs/exfat/exfat_fs.h +++ b/fs/exfat/exfat_fs.h @@ -10,7 +10,6 @@ #include <linux/ratelimit.h> #include <linux/nls.h> -#define EXFAT_SUPER_MAGIC 0x2011BAB0UL #define EXFAT_ROOT_INO 1 #define EXFAT_CLUSTERS_UNTRACKED (~0u) diff --git a/fs/exfat/super.c b/fs/exfat/super.c index 4b5d02b1df58..8c9fb7dcec16 100644 --- a/fs/exfat/super.c +++ b/fs/exfat/super.c @@ -17,6 +17,7 @@ #include <linux/iversion.h> #include <linux/nls.h> #include <linux/buffer_head.h> +#include <linux/magic.h> #include "exfat_raw.h" #include "exfat_fs.h" |