]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop cifs patch that broke the build
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Feb 2020 23:50:59 +0000 (00:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Feb 2020 23:50:59 +0000 (00:50 +0100)
queue-4.14/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch [deleted file]
queue-4.14/series
queue-4.19/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch [deleted file]
queue-4.19/series
queue-4.4/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch [deleted file]
queue-4.4/series
queue-4.9/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch [deleted file]
queue-4.9/series

diff --git a/queue-4.14/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch b/queue-4.14/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
deleted file mode 100644 (file)
index 3c781f9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From e3e056c35108661e418c803adfc054bf683426e7 Mon Sep 17 00:00:00 2001
-From: Aurelien Aptel <aaptel@suse.com>
-Date: Thu, 6 Feb 2020 18:16:55 +0100
-Subject: cifs: fix mode bits from dir listing when mounted with modefromsid
-
-From: Aurelien Aptel <aaptel@suse.com>
-
-commit e3e056c35108661e418c803adfc054bf683426e7 upstream.
-
-When mounting with -o modefromsid, the mode bits are stored in an
-ACE. Directory enumeration (e.g. ls -l /mnt) triggers an SMB Query Dir
-which does not include ACEs in its response. The mode bits in this
-case are silently set to a default value of 755 instead.
-
-This patch marks the dentry created during the directory enumeration
-as needing re-evaluation (i.e. additional Query Info with ACEs) so
-that the mode bits can be properly extracted.
-
-Quick repro:
-
-$ mount.cifs //win19.test/data /mnt -o ...,modefromsid
-$ touch /mnt/foo && chmod 751 /mnt/foo
-$ stat /mnt/foo
-  # reports 751 (OK)
-$ sleep 2
-  # dentry older than 1s by default get invalidated
-$ ls -l /mnt
-  # since dentry invalid, ls does a Query Dir
-  # and reports foo as 755 (WRONG)
-
-Signed-off-by: Aurelien Aptel <aaptel@suse.com>
-Signed-off-by: Steve French <stfrench@microsoft.com>
-CC: Stable <stable@vger.kernel.org>
-Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/cifs/readdir.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/fs/cifs/readdir.c
-+++ b/fs/cifs/readdir.c
-@@ -174,7 +174,8 @@ cifs_fill_common_info(struct cifs_fattr
-        * may look wrong since the inodes may not have timed out by the time
-        * "ls" does a stat() call on them.
-        */
--      if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL)
-+      if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) ||
-+          (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID))
-               fattr->cf_flags |= CIFS_FATTR_NEED_REVAL;
-       if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL &&
index 521f3ef895c8e749698ac863c68f378bf14f6718..2b24820e4dea2fd57fea1ff925014fbe1d0d7a14 100644 (file)
@@ -135,6 +135,5 @@ kvm-use-vcpu-specific-gva-hva-translation-when-query.patch
 kvm-play-nice-with-read-only-memslots-when-querying-.patch
 kvm-s390-do-not-clobber-registers-during-guest-reset.patch
 cifs-fail-i-o-on-soft-mounts-if-sessionsetup-errors-out.patch
-cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
 clocksource-prevent-double-add_timer_on-for-watchdog_timer.patch
 perf-core-fix-mlock-accounting-in-perf_mmap.patch
diff --git a/queue-4.19/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch b/queue-4.19/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
deleted file mode 100644 (file)
index 3c781f9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From e3e056c35108661e418c803adfc054bf683426e7 Mon Sep 17 00:00:00 2001
-From: Aurelien Aptel <aaptel@suse.com>
-Date: Thu, 6 Feb 2020 18:16:55 +0100
-Subject: cifs: fix mode bits from dir listing when mounted with modefromsid
-
-From: Aurelien Aptel <aaptel@suse.com>
-
-commit e3e056c35108661e418c803adfc054bf683426e7 upstream.
-
-When mounting with -o modefromsid, the mode bits are stored in an
-ACE. Directory enumeration (e.g. ls -l /mnt) triggers an SMB Query Dir
-which does not include ACEs in its response. The mode bits in this
-case are silently set to a default value of 755 instead.
-
-This patch marks the dentry created during the directory enumeration
-as needing re-evaluation (i.e. additional Query Info with ACEs) so
-that the mode bits can be properly extracted.
-
-Quick repro:
-
-$ mount.cifs //win19.test/data /mnt -o ...,modefromsid
-$ touch /mnt/foo && chmod 751 /mnt/foo
-$ stat /mnt/foo
-  # reports 751 (OK)
-$ sleep 2
-  # dentry older than 1s by default get invalidated
-$ ls -l /mnt
-  # since dentry invalid, ls does a Query Dir
-  # and reports foo as 755 (WRONG)
-
-Signed-off-by: Aurelien Aptel <aaptel@suse.com>
-Signed-off-by: Steve French <stfrench@microsoft.com>
-CC: Stable <stable@vger.kernel.org>
-Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/cifs/readdir.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/fs/cifs/readdir.c
-+++ b/fs/cifs/readdir.c
-@@ -174,7 +174,8 @@ cifs_fill_common_info(struct cifs_fattr
-        * may look wrong since the inodes may not have timed out by the time
-        * "ls" does a stat() call on them.
-        */
--      if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL)
-+      if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) ||
-+          (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID))
-               fattr->cf_flags |= CIFS_FATTR_NEED_REVAL;
-       if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL &&
index 3b68a31fd96dde8d4255c9887c7f22b5effd5a50..ea3e1a3e7f0b691217b7a7eab66038ec107b40a7 100644 (file)
@@ -189,7 +189,6 @@ mm-zero-remaining-unavailable-struct-pages.patch
 mm-return-zero_resv_unavail-optimization.patch
 mm-page_alloc.c-fix-uninitialized-memmaps-on-a-parti.patch
 cifs-fail-i-o-on-soft-mounts-if-sessionsetup-errors-out.patch
-cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
 x86-apic-msi-plug-non-maskable-msi-affinity-race.patch
 clocksource-prevent-double-add_timer_on-for-watchdog_timer.patch
 perf-core-fix-mlock-accounting-in-perf_mmap.patch
diff --git a/queue-4.4/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch b/queue-4.4/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
deleted file mode 100644 (file)
index e909049..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From e3e056c35108661e418c803adfc054bf683426e7 Mon Sep 17 00:00:00 2001
-From: Aurelien Aptel <aaptel@suse.com>
-Date: Thu, 6 Feb 2020 18:16:55 +0100
-Subject: cifs: fix mode bits from dir listing when mounted with modefromsid
-
-From: Aurelien Aptel <aaptel@suse.com>
-
-commit e3e056c35108661e418c803adfc054bf683426e7 upstream.
-
-When mounting with -o modefromsid, the mode bits are stored in an
-ACE. Directory enumeration (e.g. ls -l /mnt) triggers an SMB Query Dir
-which does not include ACEs in its response. The mode bits in this
-case are silently set to a default value of 755 instead.
-
-This patch marks the dentry created during the directory enumeration
-as needing re-evaluation (i.e. additional Query Info with ACEs) so
-that the mode bits can be properly extracted.
-
-Quick repro:
-
-$ mount.cifs //win19.test/data /mnt -o ...,modefromsid
-$ touch /mnt/foo && chmod 751 /mnt/foo
-$ stat /mnt/foo
-  # reports 751 (OK)
-$ sleep 2
-  # dentry older than 1s by default get invalidated
-$ ls -l /mnt
-  # since dentry invalid, ls does a Query Dir
-  # and reports foo as 755 (WRONG)
-
-Signed-off-by: Aurelien Aptel <aaptel@suse.com>
-Signed-off-by: Steve French <stfrench@microsoft.com>
-CC: Stable <stable@vger.kernel.org>
-Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/cifs/readdir.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/fs/cifs/readdir.c
-+++ b/fs/cifs/readdir.c
-@@ -171,7 +171,8 @@ cifs_fill_common_info(struct cifs_fattr
-        * may look wrong since the inodes may not have timed out by the time
-        * "ls" does a stat() call on them.
-        */
--      if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL)
-+      if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) ||
-+          (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID))
-               fattr->cf_flags |= CIFS_FATTR_NEED_REVAL;
-       if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL &&
index 606fa01ca2d2e8ff825ac03ca84be8444ff791e6..8123f495792b1f538fb1b8f91ff74b520e4b2f99 100644 (file)
@@ -75,6 +75,5 @@ kvm-x86-mmu-apply-max-pa-check-for-mmio-sptes-to-32-.patch
 kvm-vmx-add-non-canonical-check-on-writes-to-rtit-ad.patch
 kvm-nvmx-vmread-should-not-set-rflags-to-specify-suc.patch
 cifs-fail-i-o-on-soft-mounts-if-sessionsetup-errors-out.patch
-cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
 clocksource-prevent-double-add_timer_on-for-watchdog_timer.patch
 perf-core-fix-mlock-accounting-in-perf_mmap.patch
diff --git a/queue-4.9/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch b/queue-4.9/cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
deleted file mode 100644 (file)
index 3c781f9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From e3e056c35108661e418c803adfc054bf683426e7 Mon Sep 17 00:00:00 2001
-From: Aurelien Aptel <aaptel@suse.com>
-Date: Thu, 6 Feb 2020 18:16:55 +0100
-Subject: cifs: fix mode bits from dir listing when mounted with modefromsid
-
-From: Aurelien Aptel <aaptel@suse.com>
-
-commit e3e056c35108661e418c803adfc054bf683426e7 upstream.
-
-When mounting with -o modefromsid, the mode bits are stored in an
-ACE. Directory enumeration (e.g. ls -l /mnt) triggers an SMB Query Dir
-which does not include ACEs in its response. The mode bits in this
-case are silently set to a default value of 755 instead.
-
-This patch marks the dentry created during the directory enumeration
-as needing re-evaluation (i.e. additional Query Info with ACEs) so
-that the mode bits can be properly extracted.
-
-Quick repro:
-
-$ mount.cifs //win19.test/data /mnt -o ...,modefromsid
-$ touch /mnt/foo && chmod 751 /mnt/foo
-$ stat /mnt/foo
-  # reports 751 (OK)
-$ sleep 2
-  # dentry older than 1s by default get invalidated
-$ ls -l /mnt
-  # since dentry invalid, ls does a Query Dir
-  # and reports foo as 755 (WRONG)
-
-Signed-off-by: Aurelien Aptel <aaptel@suse.com>
-Signed-off-by: Steve French <stfrench@microsoft.com>
-CC: Stable <stable@vger.kernel.org>
-Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/cifs/readdir.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/fs/cifs/readdir.c
-+++ b/fs/cifs/readdir.c
-@@ -174,7 +174,8 @@ cifs_fill_common_info(struct cifs_fattr
-        * may look wrong since the inodes may not have timed out by the time
-        * "ls" does a stat() call on them.
-        */
--      if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL)
-+      if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) ||
-+          (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID))
-               fattr->cf_flags |= CIFS_FATTR_NEED_REVAL;
-       if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL &&
index 4d6628f66332cdf322b49286dc33b5f7353ae5ba..1a3ad8f424520a091622750e29d5e0b87a891171 100644 (file)
@@ -91,6 +91,5 @@ kvm-x86-mmu-apply-max-pa-check-for-mmio-sptes-to-32-.patch
 kvm-vmx-add-non-canonical-check-on-writes-to-rtit-ad.patch
 kvm-nvmx-vmread-should-not-set-rflags-to-specify-suc.patch
 cifs-fail-i-o-on-soft-mounts-if-sessionsetup-errors-out.patch
-cifs-fix-mode-bits-from-dir-listing-when-mounted-with-modefromsid.patch
 clocksource-prevent-double-add_timer_on-for-watchdog_timer.patch
 perf-core-fix-mlock-accounting-in-perf_mmap.patch