]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch from everywhere
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jul 2023 04:51:36 +0000 (06:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jul 2023 04:51:36 +0000 (06:51 +0200)
queue-4.14/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch [deleted file]
queue-4.14/series
queue-4.19/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch [deleted file]
queue-4.19/series
queue-5.10/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch [deleted file]
queue-5.10/series
queue-5.4/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch [deleted file]
queue-5.4/series

diff --git a/queue-4.14/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch b/queue-4.14/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
deleted file mode 100644 (file)
index 30d6965..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From c4d13222afd8a64bf11bc7ec68645496ee8b54b9 Mon Sep 17 00:00:00 2001
-From: Chao Yu <chao@kernel.org>
-Date: Tue, 6 Jun 2023 15:32:03 +0800
-Subject: ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
-
-From: Chao Yu <chao@kernel.org>
-
-commit c4d13222afd8a64bf11bc7ec68645496ee8b54b9 upstream.
-
-freeze_bdev() can fail due to a lot of reasons, it needs to check its
-reason before later process.
-
-Fixes: 783d94854499 ("ext4: add EXT4_IOC_GOINGDOWN ioctl")
-Cc: stable@kernel.org
-Signed-off-by: Chao Yu <chao@kernel.org>
-Link: https://lore.kernel.org/r/20230606073203.1310389-1-chao@kernel.org
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/ext4/ioctl.c |    5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
---- a/fs/ext4/ioctl.c
-+++ b/fs/ext4/ioctl.c
-@@ -502,6 +502,7 @@ static int ext4_shutdown(struct super_bl
- {
-       struct ext4_sb_info *sbi = EXT4_SB(sb);
-       __u32 flags;
-+      int ret;
-       if (!capable(CAP_SYS_ADMIN))
-               return -EPERM;
-@@ -519,7 +520,9 @@ static int ext4_shutdown(struct super_bl
-       switch (flags) {
-       case EXT4_GOING_FLAGS_DEFAULT:
--              freeze_bdev(sb->s_bdev);
-+              ret = freeze_bdev(sb->s_bdev);
-+              if (ret)
-+                      return ret;
-               set_bit(EXT4_FLAGS_SHUTDOWN, &sbi->s_ext4_flags);
-               thaw_bdev(sb->s_bdev, sb);
-               break;
index 25a2e483c23962e7776325ae758c3d482af42115..a41ff4a248b770b4f1fdbc3b6d4f00e55a96061e 100644 (file)
@@ -103,7 +103,6 @@ tpm-tpm_vtpm_proxy-fix-a-race-condition-in-dev-vtpmx-creation.patch
 sunrpc-fix-uaf-in-svc_tcp_listen_data_ready.patch
 perf-intel-pt-fix-cyc-timestamps-after-standalone-cbr.patch
 ext4-fix-wrong-unit-use-in-ext4_mb_clear_bb.patch
-ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
 ext4-only-update-i_reserved_data_blocks-on-successful-block-allocation.patch
 jfs-jfs_dmap-validate-db_l2nbperpage-while-mounting.patch
 pci-add-function-1-dma-alias-quirk-for-marvell-88se9235.patch
diff --git a/queue-4.19/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch b/queue-4.19/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
deleted file mode 100644 (file)
index 2d7511b..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From c4d13222afd8a64bf11bc7ec68645496ee8b54b9 Mon Sep 17 00:00:00 2001
-From: Chao Yu <chao@kernel.org>
-Date: Tue, 6 Jun 2023 15:32:03 +0800
-Subject: ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
-
-From: Chao Yu <chao@kernel.org>
-
-commit c4d13222afd8a64bf11bc7ec68645496ee8b54b9 upstream.
-
-freeze_bdev() can fail due to a lot of reasons, it needs to check its
-reason before later process.
-
-Fixes: 783d94854499 ("ext4: add EXT4_IOC_GOINGDOWN ioctl")
-Cc: stable@kernel.org
-Signed-off-by: Chao Yu <chao@kernel.org>
-Link: https://lore.kernel.org/r/20230606073203.1310389-1-chao@kernel.org
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/ext4/ioctl.c |    5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
---- a/fs/ext4/ioctl.c
-+++ b/fs/ext4/ioctl.c
-@@ -561,6 +561,7 @@ static int ext4_shutdown(struct super_bl
- {
-       struct ext4_sb_info *sbi = EXT4_SB(sb);
-       __u32 flags;
-+      int ret;
-       if (!capable(CAP_SYS_ADMIN))
-               return -EPERM;
-@@ -579,7 +580,9 @@ static int ext4_shutdown(struct super_bl
-       switch (flags) {
-       case EXT4_GOING_FLAGS_DEFAULT:
--              freeze_bdev(sb->s_bdev);
-+              ret = freeze_bdev(sb->s_bdev);
-+              if (ret)
-+                      return ret;
-               set_bit(EXT4_FLAGS_SHUTDOWN, &sbi->s_ext4_flags);
-               thaw_bdev(sb->s_bdev, sb);
-               break;
index acf0de8cbf55c0c037dd5bd7d16bad21bd83e160..1399eaebaf872dc1fa59c932740865e646b1cf3b 100644 (file)
@@ -155,7 +155,6 @@ net-bcmgenet-ensure-mdio-unregistration-has-clocks-enabled.patch
 sunrpc-fix-uaf-in-svc_tcp_listen_data_ready.patch
 perf-intel-pt-fix-cyc-timestamps-after-standalone-cbr.patch
 ext4-fix-wrong-unit-use-in-ext4_mb_clear_bb.patch
-ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
 ext4-only-update-i_reserved_data_blocks-on-successful-block-allocation.patch
 jfs-jfs_dmap-validate-db_l2nbperpage-while-mounting.patch
 pci-pm-avoid-putting-elopos-e2-s2-h2-pcie-ports-in-d3cold.patch
diff --git a/queue-5.10/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch b/queue-5.10/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
deleted file mode 100644 (file)
index a8774a4..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From c4d13222afd8a64bf11bc7ec68645496ee8b54b9 Mon Sep 17 00:00:00 2001
-From: Chao Yu <chao@kernel.org>
-Date: Tue, 6 Jun 2023 15:32:03 +0800
-Subject: ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
-
-From: Chao Yu <chao@kernel.org>
-
-commit c4d13222afd8a64bf11bc7ec68645496ee8b54b9 upstream.
-
-freeze_bdev() can fail due to a lot of reasons, it needs to check its
-reason before later process.
-
-Fixes: 783d94854499 ("ext4: add EXT4_IOC_GOINGDOWN ioctl")
-Cc: stable@kernel.org
-Signed-off-by: Chao Yu <chao@kernel.org>
-Link: https://lore.kernel.org/r/20230606073203.1310389-1-chao@kernel.org
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/ext4/ioctl.c |    5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
---- a/fs/ext4/ioctl.c
-+++ b/fs/ext4/ioctl.c
-@@ -612,6 +612,7 @@ static int ext4_shutdown(struct super_bl
- {
-       struct ext4_sb_info *sbi = EXT4_SB(sb);
-       __u32 flags;
-+      int ret;
-       if (!capable(CAP_SYS_ADMIN))
-               return -EPERM;
-@@ -630,7 +631,9 @@ static int ext4_shutdown(struct super_bl
-       switch (flags) {
-       case EXT4_GOING_FLAGS_DEFAULT:
--              freeze_bdev(sb->s_bdev);
-+              ret = freeze_bdev(sb->s_bdev);
-+              if (ret)
-+                      return ret;
-               set_bit(EXT4_FLAGS_SHUTDOWN, &sbi->s_ext4_flags);
-               thaw_bdev(sb->s_bdev, sb);
-               break;
index 21f0a9b8f83c4be256b38ff0d20e6e8a4934e008..cd6c094c6eee1a966107de851f044b45e65e8ec3 100644 (file)
@@ -388,7 +388,6 @@ ext4-fix-reusing-stale-buffer-heads-from-last-failed-mounting.patch
 ext4-fix-wrong-unit-use-in-ext4_mb_clear_bb.patch
 ext4-get-block-from-bh-in-ext4_free_blocks-for-fast-commit-replay.patch
 ext4-fix-wrong-unit-use-in-ext4_mb_new_blocks.patch
-ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
 ext4-only-update-i_reserved_data_blocks-on-successful-block-allocation.patch
 jfs-jfs_dmap-validate-db_l2nbperpage-while-mounting.patch
 hwrng-imx-rngc-fix-the-timeout-for-init-and-self-check.patch
diff --git a/queue-5.4/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch b/queue-5.4/ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
deleted file mode 100644 (file)
index a165fae..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From c4d13222afd8a64bf11bc7ec68645496ee8b54b9 Mon Sep 17 00:00:00 2001
-From: Chao Yu <chao@kernel.org>
-Date: Tue, 6 Jun 2023 15:32:03 +0800
-Subject: ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
-
-From: Chao Yu <chao@kernel.org>
-
-commit c4d13222afd8a64bf11bc7ec68645496ee8b54b9 upstream.
-
-freeze_bdev() can fail due to a lot of reasons, it needs to check its
-reason before later process.
-
-Fixes: 783d94854499 ("ext4: add EXT4_IOC_GOINGDOWN ioctl")
-Cc: stable@kernel.org
-Signed-off-by: Chao Yu <chao@kernel.org>
-Link: https://lore.kernel.org/r/20230606073203.1310389-1-chao@kernel.org
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/ext4/ioctl.c |    5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
---- a/fs/ext4/ioctl.c
-+++ b/fs/ext4/ioctl.c
-@@ -573,6 +573,7 @@ static int ext4_shutdown(struct super_bl
- {
-       struct ext4_sb_info *sbi = EXT4_SB(sb);
-       __u32 flags;
-+      int ret;
-       if (!capable(CAP_SYS_ADMIN))
-               return -EPERM;
-@@ -591,7 +592,9 @@ static int ext4_shutdown(struct super_bl
-       switch (flags) {
-       case EXT4_GOING_FLAGS_DEFAULT:
--              freeze_bdev(sb->s_bdev);
-+              ret = freeze_bdev(sb->s_bdev);
-+              if (ret)
-+                      return ret;
-               set_bit(EXT4_FLAGS_SHUTDOWN, &sbi->s_ext4_flags);
-               thaw_bdev(sb->s_bdev, sb);
-               break;
index dd7c4f2a84754bd0f3b84b5114174b9cafbd75a1..37d750a5f9500b481cd33415b65527c22f3bb9b3 100644 (file)
@@ -233,7 +233,6 @@ misc-fastrpc-create-fastrpc-scalar-with-correct-buffer-count.patch
 sunrpc-fix-uaf-in-svc_tcp_listen_data_ready.patch
 erofs-fix-compact-4b-support-for-16k-block-size.patch
 ext4-fix-wrong-unit-use-in-ext4_mb_clear_bb.patch
-ext4-fix-to-check-return-value-of-freeze_bdev-in-ext4_shutdown.patch
 ext4-only-update-i_reserved_data_blocks-on-successful-block-allocation.patch
 jfs-jfs_dmap-validate-db_l2nbperpage-while-mounting.patch
 pci-pm-avoid-putting-elopos-e2-s2-h2-pcie-ports-in-d3cold.patch