From 545cf85f445f7b97bff0a54c7849febcb0f04ccc Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 11 Mar 2020 18:38:09 +0100 Subject: [PATCH] libmount: smb2 is unsupported alias MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Kenneth D'souza wrote: # grep -w MODULE_ALIAS_FS fs/cifs/cifsfs.c MODULE_ALIAS_FS("cifs"); 112/112│MODULE_ALIAS_FS("smb3"); Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1812118 Signed-off-by: Karel Zak --- libmount/src/tab.c | 1 - libmount/src/utils.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libmount/src/tab.c b/libmount/src/tab.c index aeeefcde68..1633d42310 100644 --- a/libmount/src/tab.c +++ b/libmount/src/tab.c @@ -1764,7 +1764,6 @@ int __mnt_table_is_fs_mounted(struct libmnt_table *tb, struct libmnt_fs *fstab_f const char *fstype = mnt_fs_get_fstype(fs); if (fstype && (strcmp(fstype, "cifs") == 0 - || strcmp(fstype, "smb2") == 0 || strcmp(fstype, "smb3") == 0)) { const char *unc_subdir = get_cifs_unc_subdir_path(src); diff --git a/libmount/src/utils.c b/libmount/src/utils.c index 90c84f4009..ffbd0c1705 100644 --- a/libmount/src/utils.c +++ b/libmount/src/utils.c @@ -332,7 +332,6 @@ int mnt_fstype_is_pseudofs(const char *type) int mnt_fstype_is_netfs(const char *type) { if (strcmp(type, "cifs") == 0 || - strcmp(type, "smb2") == 0 || strcmp(type, "smb3") == 0 || strcmp(type, "smbfs") == 0 || strncmp(type,"nfs", 3) == 0 || -- 2.47.2