basic: update CIFS magic
Kernel commit dea2903719283c156b53741126228c4a1b40440f exposed (and renamed) CIFS_MAGIC_NUMBER as CIFS_SUPER_MAGIC along with SMB2_SUPER_MAGIC. This fixes the following build fail on current Fedora Rawhide: ``` ../src/basic/meson.build:389:8: ERROR: Problem encountered: found unknown filesystem(s) defined in kernel headers: Filesystem found in kernel header but not in filesystems-gperf.gperf: CIFS_SUPER_MAGIC Filesystem found in kernel header but not in filesystems-gperf.gperf: SMB2_SUPER_MAGIC ```
This commit is contained in:
committed by
Yu Watanabe
parent
156d01b9ca
commit
bbe5371345
@@ -38,9 +38,14 @@
|
||||
#define XFS_SB_MAGIC 0x58465342
|
||||
#endif
|
||||
|
||||
/* Not exposed yet. Defined at fs/cifs/cifsglob.h */
|
||||
#ifndef CIFS_MAGIC_NUMBER
|
||||
#define CIFS_MAGIC_NUMBER 0xFF534D42
|
||||
/* dea2903719283c156b53741126228c4a1b40440f (5.17) */
|
||||
#ifndef CIFS_SUPER_MAGIC
|
||||
#define CIFS_SUPER_MAGIC 0xFF534D42
|
||||
#endif
|
||||
|
||||
/* dea2903719283c156b53741126228c4a1b40440f (5.17) */
|
||||
#ifndef SMB2_SUPER_MAGIC
|
||||
#define SMB2_SUPER_MAGIC 0xFE534D42
|
||||
#endif
|
||||
|
||||
/* 257f871993474e2bde6c497b54022c362cf398e1 (4.5) */
|
||||
|
||||
Reference in New Issue
Block a user