From 3c208fde5af0ba62652aac50d2c3e44e20a8b428 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 12 Apr 2021 10:01:24 +0200 Subject: [PATCH] 4.14-stable patches added patches: revert-cifs-set-cifs_mount_use_prefix_path-flag-on-setting-cifs_sb-prepath.patch --- ...path-flag-on-setting-cifs_sb-prepath.patch | 34 +++++++++++++++++++ queue-4.14/series | 1 + 2 files changed, 35 insertions(+) create mode 100644 queue-4.14/revert-cifs-set-cifs_mount_use_prefix_path-flag-on-setting-cifs_sb-prepath.patch diff --git a/queue-4.14/revert-cifs-set-cifs_mount_use_prefix_path-flag-on-setting-cifs_sb-prepath.patch b/queue-4.14/revert-cifs-set-cifs_mount_use_prefix_path-flag-on-setting-cifs_sb-prepath.patch new file mode 100644 index 00000000000..55d5ded7e9b --- /dev/null +++ b/queue-4.14/revert-cifs-set-cifs_mount_use_prefix_path-flag-on-setting-cifs_sb-prepath.patch @@ -0,0 +1,34 @@ +From a2acabd066e828dd815c0920f98ca657a014847d Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Mon, 12 Apr 2021 09:56:57 +0200 +Subject: Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath." + +From: Greg Kroah-Hartman + +This reverts commit ad48c641e7c344ae7aba243d3056a22eaba71bfd which is +commit a738c93fb1c17e386a09304b517b1c6b2a6a5a8b upstream. + +It is reported to cause problems in older kernels, so revert it for now +until we can figure it out... + +Reported-by: Salvatore Bonaccorso +Link: https://lore.kernel.org/r/YG7r0UaivWZL762N@eldamar.lan +Cc: Shyam Prasad N +Cc: Aurelien Aptel +Cc: Steve French +Cc: Sasha Levin +Signed-off-by: Greg Kroah-Hartman +--- + fs/cifs/connect.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/fs/cifs/connect.c ++++ b/fs/cifs/connect.c +@@ -3607,7 +3607,6 @@ int cifs_setup_cifs_sb(struct smb_vol *p + cifs_sb->prepath = kstrdup(pvolume_info->prepath, GFP_KERNEL); + if (cifs_sb->prepath == NULL) + return -ENOMEM; +- cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; + } + + return 0; diff --git a/queue-4.14/series b/queue-4.14/series index 9cee7678c13..e91d938c7b3 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -56,3 +56,4 @@ net-ieee802154-fix-nl802154-del-llsec-devkey.patch net-ieee802154-forbid-monitor-for-set-llsec-params.patch net-ieee802154-forbid-monitor-for-del-llsec-seclevel.patch net-ieee802154-stop-dump-llsec-params-for-monitors.patch +revert-cifs-set-cifs_mount_use_prefix_path-flag-on-setting-cifs_sb-prepath.patch -- 2.47.3