]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
remove btrfs-check-unsupported-filters-in-balance-arguments.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Dec 2015 01:15:40 +0000 (17:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Dec 2015 01:15:40 +0000 (17:15 -0800)
queue-4.1/btrfs-check-unsupported-filters-in-balance-arguments.patch [deleted file]
queue-4.1/series
queue-4.2/btrfs-check-unsupported-filters-in-balance-arguments.patch [deleted file]
queue-4.2/series
queue-4.3/btrfs-check-unsupported-filters-in-balance-arguments.patch [deleted file]
queue-4.3/series

diff --git a/queue-4.1/btrfs-check-unsupported-filters-in-balance-arguments.patch b/queue-4.1/btrfs-check-unsupported-filters-in-balance-arguments.patch
deleted file mode 100644 (file)
index aaef7ed..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-From 849ef9286f30c88113906dc35f44a499c0cb385d Mon Sep 17 00:00:00 2001
-From: David Sterba <dsterba@suse.com>
-Date: Mon, 12 Oct 2015 16:55:54 +0200
-Subject: btrfs: check unsupported filters in balance arguments
-
-From: David Sterba <dsterba@suse.com>
-
-commit 849ef9286f30c88113906dc35f44a499c0cb385d upstream.
-
-We don't verify that all the balance filter arguments supplemented by
-the flags are actually known to the kernel. Thus we let it silently pass
-and do nothing.
-
-At the moment this means only the 'limit' filter, but we're going to add
-a few more soon so it's better to have that fixed. Also in older stable
-kernels so that it works with newer userspace tools.
-
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Chris Mason <clm@fb.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/btrfs/ioctl.c   |    5 +++++
- fs/btrfs/volumes.h |    8 ++++++++
- 2 files changed, 13 insertions(+)
-
---- a/fs/btrfs/ioctl.c
-+++ b/fs/btrfs/ioctl.c
-@@ -4497,6 +4497,11 @@ locked:
-               goto out_bctl;
-       }
-+      if (bctl->flags & ~(BTRFS_BALANCE_ARGS_MASK | BTRFS_BALANCE_TYPE_MASK)) {
-+              ret = -EINVAL;
-+              goto out_bargs;
-+      }
-+
- do_balance:
-       /*
-        * Ownership of bctl and mutually_exclusive_operation_running
---- a/fs/btrfs/volumes.h
-+++ b/fs/btrfs/volumes.h
-@@ -380,6 +380,14 @@ struct map_lookup {
-        BTRFS_BALANCE_ARGS_VRANGE |            \
-        BTRFS_BALANCE_ARGS_LIMIT)
-+#define BTRFS_BALANCE_ARGS_MASK                       \
-+      (BTRFS_BALANCE_ARGS_PROFILES |          \
-+       BTRFS_BALANCE_ARGS_USAGE |             \
-+       BTRFS_BALANCE_ARGS_DEVID |             \
-+       BTRFS_BALANCE_ARGS_DRANGE |            \
-+       BTRFS_BALANCE_ARGS_VRANGE |            \
-+       BTRFS_BALANCE_ARGS_LIMIT)
-+
- /*
-  * Profile changing flags.  When SOFT is set we won't relocate chunk if
-  * it already has the target profile (even though it may be
index 75282c391afb459bd4eab214cee271042a91c02e..7c809cf1ed129bab224bfffef692c0c6c7079642 100644 (file)
@@ -24,7 +24,6 @@ ipv6-add-complete-rcu-protection-around-np-opt.patch
 net-neighbour-fix-crash-at-dumping-device-agnostic-proxy-entries.patch
 ipv6-sctp-implement-sctp_v6_destroy_sock.patch
 net_sched-fix-qdisc_tree_decrease_qlen-races.patch
-btrfs-check-unsupported-filters-in-balance-arguments.patch
 btrfs-fix-file-corruption-and-data-loss-after-cloning-inline-extents.patch
 btrfs-fix-truncation-of-compressed-and-inlined-extents.patch
 btrfs-fix-race-leading-to-incorrect-item-deletion-when-dropping-extents.patch
diff --git a/queue-4.2/btrfs-check-unsupported-filters-in-balance-arguments.patch b/queue-4.2/btrfs-check-unsupported-filters-in-balance-arguments.patch
deleted file mode 100644 (file)
index 578a3e9..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-From 849ef9286f30c88113906dc35f44a499c0cb385d Mon Sep 17 00:00:00 2001
-From: David Sterba <dsterba@suse.com>
-Date: Mon, 12 Oct 2015 16:55:54 +0200
-Subject: btrfs: check unsupported filters in balance arguments
-
-From: David Sterba <dsterba@suse.com>
-
-commit 849ef9286f30c88113906dc35f44a499c0cb385d upstream.
-
-We don't verify that all the balance filter arguments supplemented by
-the flags are actually known to the kernel. Thus we let it silently pass
-and do nothing.
-
-At the moment this means only the 'limit' filter, but we're going to add
-a few more soon so it's better to have that fixed. Also in older stable
-kernels so that it works with newer userspace tools.
-
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Chris Mason <clm@fb.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/btrfs/ioctl.c   |    5 +++++
- fs/btrfs/volumes.h |    8 ++++++++
- 2 files changed, 13 insertions(+)
-
---- a/fs/btrfs/ioctl.c
-+++ b/fs/btrfs/ioctl.c
-@@ -4652,6 +4652,11 @@ locked:
-               goto out_bctl;
-       }
-+      if (bctl->flags & ~(BTRFS_BALANCE_ARGS_MASK | BTRFS_BALANCE_TYPE_MASK)) {
-+              ret = -EINVAL;
-+              goto out_bargs;
-+      }
-+
- do_balance:
-       /*
-        * Ownership of bctl and mutually_exclusive_operation_running
---- a/fs/btrfs/volumes.h
-+++ b/fs/btrfs/volumes.h
-@@ -384,6 +384,14 @@ struct map_lookup {
-        BTRFS_BALANCE_ARGS_VRANGE |            \
-        BTRFS_BALANCE_ARGS_LIMIT)
-+#define BTRFS_BALANCE_ARGS_MASK                       \
-+      (BTRFS_BALANCE_ARGS_PROFILES |          \
-+       BTRFS_BALANCE_ARGS_USAGE |             \
-+       BTRFS_BALANCE_ARGS_DEVID |             \
-+       BTRFS_BALANCE_ARGS_DRANGE |            \
-+       BTRFS_BALANCE_ARGS_VRANGE |            \
-+       BTRFS_BALANCE_ARGS_LIMIT)
-+
- /*
-  * Profile changing flags.  When SOFT is set we won't relocate chunk if
-  * it already has the target profile (even though it may be
index ccfe9a085be7ada0d4238ce9f8c98713b07e016f..554938d8efbda1fb1028b193406577e182f66d38 100644 (file)
@@ -36,7 +36,6 @@ ipv6-sctp-implement-sctp_v6_destroy_sock.patch
 net_sched-fix-qdisc_tree_decrease_qlen-races.patch
 via-rhine-fix-vlan-receive-handling-regression.patch
 btrfs-fix-resending-received-snapshot-with-parent.patch
-btrfs-check-unsupported-filters-in-balance-arguments.patch
 btrfs-fix-file-corruption-and-data-loss-after-cloning-inline-extents.patch
 btrfs-fix-truncation-of-compressed-and-inlined-extents.patch
 btrfs-fix-regression-when-running-delayed-references.patch
diff --git a/queue-4.3/btrfs-check-unsupported-filters-in-balance-arguments.patch b/queue-4.3/btrfs-check-unsupported-filters-in-balance-arguments.patch
deleted file mode 100644 (file)
index 164a9ba..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-From 849ef9286f30c88113906dc35f44a499c0cb385d Mon Sep 17 00:00:00 2001
-From: David Sterba <dsterba@suse.com>
-Date: Mon, 12 Oct 2015 16:55:54 +0200
-Subject: btrfs: check unsupported filters in balance arguments
-
-From: David Sterba <dsterba@suse.com>
-
-commit 849ef9286f30c88113906dc35f44a499c0cb385d upstream.
-
-We don't verify that all the balance filter arguments supplemented by
-the flags are actually known to the kernel. Thus we let it silently pass
-and do nothing.
-
-At the moment this means only the 'limit' filter, but we're going to add
-a few more soon so it's better to have that fixed. Also in older stable
-kernels so that it works with newer userspace tools.
-
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Chris Mason <clm@fb.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/btrfs/ioctl.c   |    5 +++++
- fs/btrfs/volumes.h |    8 ++++++++
- 2 files changed, 13 insertions(+)
-
---- a/fs/btrfs/ioctl.c
-+++ b/fs/btrfs/ioctl.c
-@@ -4644,6 +4644,11 @@ locked:
-               goto out_bctl;
-       }
-+      if (bctl->flags & ~(BTRFS_BALANCE_ARGS_MASK | BTRFS_BALANCE_TYPE_MASK)) {
-+              ret = -EINVAL;
-+              goto out_bargs;
-+      }
-+
- do_balance:
-       /*
-        * Ownership of bctl and mutually_exclusive_operation_running
---- a/fs/btrfs/volumes.h
-+++ b/fs/btrfs/volumes.h
-@@ -384,6 +384,14 @@ struct map_lookup {
-        BTRFS_BALANCE_ARGS_VRANGE |            \
-        BTRFS_BALANCE_ARGS_LIMIT)
-+#define BTRFS_BALANCE_ARGS_MASK                       \
-+      (BTRFS_BALANCE_ARGS_PROFILES |          \
-+       BTRFS_BALANCE_ARGS_USAGE |             \
-+       BTRFS_BALANCE_ARGS_DEVID |             \
-+       BTRFS_BALANCE_ARGS_DRANGE |            \
-+       BTRFS_BALANCE_ARGS_VRANGE |            \
-+       BTRFS_BALANCE_ARGS_LIMIT)
-+
- /*
-  * Profile changing flags.  When SOFT is set we won't relocate chunk if
-  * it already has the target profile (even though it may be
index b3803aed1a05443d39a2bc1fe0732533181ebedb..38e0e2544c3e0ac0f12ca072af836254bf51ecb5 100644 (file)
@@ -43,7 +43,6 @@ ipv6-sctp-implement-sctp_v6_destroy_sock.patch
 openvswitch-fix-hangup-on-vxlan-gre-geneve-device-deletion.patch
 net_sched-fix-qdisc_tree_decrease_qlen-races.patch
 btrfs-fix-resending-received-snapshot-with-parent.patch
-btrfs-check-unsupported-filters-in-balance-arguments.patch
 btrfs-fix-file-corruption-and-data-loss-after-cloning-inline-extents.patch
 btrfs-fix-truncation-of-compressed-and-inlined-extents.patch
 btrfs-fix-regression-when-running-delayed-references.patch