diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-02-28 13:18:22 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-03-01 23:11:29 +0100 |
commit | 874716673a6525e77bc1585efc581876e18d08dc (patch) | |
tree | bcd1dfd3495cfbccc182726632a1694939580248 /sys-cluster/ceph | |
parent | dev-python/raet: remove unused patch (diff) | |
download | gentoo-874716673a6525e77bc1585efc581876e18d08dc.tar.gz gentoo-874716673a6525e77bc1585efc581876e18d08dc.tar.bz2 gentoo-874716673a6525e77bc1585efc581876e18d08dc.zip |
sys-cluster/ceph: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/19710
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-cluster/ceph')
-rw-r--r-- | sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch | 26 | ||||
-rw-r--r-- | sys-cluster/ceph/files/ceph-14.2.10-python-warnings.patch | 31 |
2 files changed, 0 insertions, 57 deletions
diff --git a/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch b/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch deleted file mode 100644 index aaa6ee080a33..000000000000 --- a/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/common/bit_str.h b/src/common/bit_str.h -index c4c24f6a75..b5631e8b84 100644 ---- a/src/common/bit_str.h -+++ b/src/common/bit_str.h -@@ -14,6 +14,8 @@ - #ifndef CEPH_COMMON_BIT_STR_H - #define CEPH_COMMON_BIT_STR_H - -+#include <cstdint> -+#include <iosfwd> - #include <functional> - - namespace ceph { -diff --git a/src/librbd/api/PoolMetadata.h b/src/librbd/api/PoolMetadata.h -index 977ce3638d..8d982879aa 100644 ---- a/src/librbd/api/PoolMetadata.h -+++ b/src/librbd/api/PoolMetadata.h -@@ -8,6 +8,8 @@ - #include "include/rados/librados_fwd.hpp" - - #include <map> -+#include <string> -+#include <cstdint> - - namespace librbd { - diff --git a/sys-cluster/ceph/files/ceph-14.2.10-python-warnings.patch b/sys-cluster/ceph/files/ceph-14.2.10-python-warnings.patch deleted file mode 100644 index 8be3e509a1cf..000000000000 --- a/sys-cluster/ceph/files/ceph-14.2.10-python-warnings.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/src/pybind/ceph_volume_client.py b/src/pybind/ceph_volume_client.py -index 7d7e5b49e4..9a1ba80e69 100644 ---- a/src/pybind/ceph_volume_client.py -+++ b/src/pybind/ceph_volume_client.py -@@ -355,7 +355,7 @@ class CephFSVolumeClient(object): - continue - - (group_id, volume_id) = volume.split('/') -- group_id = group_id if group_id is not 'None' else None -+ group_id = group_id if group_id != 'None' else None - volume_path = VolumePath(group_id, volume_id) - access_level = volume_data['access_level'] - -@@ -378,7 +378,7 @@ class CephFSVolumeClient(object): - if vol_meta['auths'][auth_id] == want_auth: - continue - -- readonly = True if access_level is 'r' else False -+ readonly = True if access_level == 'r' else False - self._authorize_volume(volume_path, auth_id, readonly) - - # Recovered from partial auth updates for the auth ID's access -@@ -1120,7 +1120,7 @@ class CephFSVolumeClient(object): - - # Construct auth caps that if present might conflict with the desired - # auth caps. -- unwanted_access_level = 'r' if want_access_level is 'rw' else 'rw' -+ unwanted_access_level = 'r' if want_access_level == 'rw' else 'rw' - unwanted_mds_cap = 'allow {0} path={1}'.format(unwanted_access_level, path) - if namespace: - unwanted_osd_cap = 'allow {0} pool={1} namespace={2}'.format( |