]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
filesystems: fix magic of "smb3" fs
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Nov 2021 13:15:40 +0000 (14:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 15 Nov 2021 21:43:03 +0000 (22:43 +0100)
smb3 is an alias for modern CIFS, not the old SMB fs (see kmod alias list, i.e. modinfo fs-smb3).

(the old smbfs has long been removed from the kernel actually, it's dead
and obsolete)

src/basic/filesystems-gperf.gperf

index fe302b7ebfdd9c855ce84b53dd93c22acc33ebfe..3c9465e0ae9dcf28f9b3163c48cbb9f4033565bb 100644 (file)
@@ -96,7 +96,7 @@ securityfs,      {SECURITYFS_MAGIC}
 selinuxfs,       {SELINUX_MAGIC}
 shiftfs,         {SHIFTFS_MAGIC}
 smackfs,         {SMACK_MAGIC}
-smb3,            {SMB_SUPER_MAGIC}
+smb3,            {CIFS_MAGIC_NUMBER}
 smbfs,           {SMB_SUPER_MAGIC}
 sockfs,          {SOCKFS_MAGIC}
 squashfs,        {SQUASHFS_MAGIC}