summaryrefslogtreecommitdiffstats
path: root/src/basic/missing_magic.h
diff options
context:
space:
mode:
authorIago Lopez Galeiras <iagol@microsoft.com>2021-08-19 11:26:49 +0200
committerIago Lopez Galeiras <iagol@microsoft.com>2021-10-06 10:48:32 +0200
commit2ac5f90d59f6aba8de4fcf883c78875e86492f53 (patch)
treefbc979c59867c7fbd894fc73ad0b860ee52eefbb /src/basic/missing_magic.h
parentunit-file: tighten unit file discovery checks (diff)
downloadsystemd-2ac5f90d59f6aba8de4fcf883c78875e86492f53.tar.xz
systemd-2ac5f90d59f6aba8de4fcf883c78875e86492f53.zip
basic: move CIFS magic number to missing_magic.h
It fits better there.
Diffstat (limited to '')
-rw-r--r--src/basic/missing_magic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/basic/missing_magic.h b/src/basic/missing_magic.h
index e7466cb6bc..8408c4d6e6 100644
--- a/src/basic/missing_magic.h
+++ b/src/basic/missing_magic.h
@@ -37,3 +37,8 @@
#ifndef XFS_SB_MAGIC
#define XFS_SB_MAGIC 0x58465342
#endif
+
+/* Not exposed yet. Defined at fs/cifs/cifsglob.h */
+#ifndef CIFS_MAGIC_NUMBER
+#define CIFS_MAGIC_NUMBER 0xFF534D42
+#endif