1 |
commit: 874716673a6525e77bc1585efc581876e18d08dc |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Sun Feb 28 12:18:22 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 22:11:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87471667 |
7 |
|
8 |
sys-cluster/ceph: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/19710 |
11 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
12 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
.../ceph/files/ceph-14.2.10-missing-includes.patch | 26 ------------------ |
16 |
.../ceph/files/ceph-14.2.10-python-warnings.patch | 31 ---------------------- |
17 |
2 files changed, 57 deletions(-) |
18 |
|
19 |
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 |
20 |
deleted file mode 100644 |
21 |
index aaa6ee080a3..00000000000 |
22 |
--- a/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch |
23 |
+++ /dev/null |
24 |
@@ -1,26 +0,0 @@ |
25 |
-diff --git a/src/common/bit_str.h b/src/common/bit_str.h |
26 |
-index c4c24f6a75..b5631e8b84 100644 |
27 |
---- a/src/common/bit_str.h |
28 |
-+++ b/src/common/bit_str.h |
29 |
-@@ -14,6 +14,8 @@ |
30 |
- #ifndef CEPH_COMMON_BIT_STR_H |
31 |
- #define CEPH_COMMON_BIT_STR_H |
32 |
- |
33 |
-+#include <cstdint> |
34 |
-+#include <iosfwd> |
35 |
- #include <functional> |
36 |
- |
37 |
- namespace ceph { |
38 |
-diff --git a/src/librbd/api/PoolMetadata.h b/src/librbd/api/PoolMetadata.h |
39 |
-index 977ce3638d..8d982879aa 100644 |
40 |
---- a/src/librbd/api/PoolMetadata.h |
41 |
-+++ b/src/librbd/api/PoolMetadata.h |
42 |
-@@ -8,6 +8,8 @@ |
43 |
- #include "include/rados/librados_fwd.hpp" |
44 |
- |
45 |
- #include <map> |
46 |
-+#include <string> |
47 |
-+#include <cstdint> |
48 |
- |
49 |
- namespace librbd { |
50 |
- |
51 |
|
52 |
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 |
53 |
deleted file mode 100644 |
54 |
index 8be3e509a1c..00000000000 |
55 |
--- a/sys-cluster/ceph/files/ceph-14.2.10-python-warnings.patch |
56 |
+++ /dev/null |
57 |
@@ -1,31 +0,0 @@ |
58 |
-diff --git a/src/pybind/ceph_volume_client.py b/src/pybind/ceph_volume_client.py |
59 |
-index 7d7e5b49e4..9a1ba80e69 100644 |
60 |
---- a/src/pybind/ceph_volume_client.py |
61 |
-+++ b/src/pybind/ceph_volume_client.py |
62 |
-@@ -355,7 +355,7 @@ class CephFSVolumeClient(object): |
63 |
- continue |
64 |
- |
65 |
- (group_id, volume_id) = volume.split('/') |
66 |
-- group_id = group_id if group_id is not 'None' else None |
67 |
-+ group_id = group_id if group_id != 'None' else None |
68 |
- volume_path = VolumePath(group_id, volume_id) |
69 |
- access_level = volume_data['access_level'] |
70 |
- |
71 |
-@@ -378,7 +378,7 @@ class CephFSVolumeClient(object): |
72 |
- if vol_meta['auths'][auth_id] == want_auth: |
73 |
- continue |
74 |
- |
75 |
-- readonly = True if access_level is 'r' else False |
76 |
-+ readonly = True if access_level == 'r' else False |
77 |
- self._authorize_volume(volume_path, auth_id, readonly) |
78 |
- |
79 |
- # Recovered from partial auth updates for the auth ID's access |
80 |
-@@ -1120,7 +1120,7 @@ class CephFSVolumeClient(object): |
81 |
- |
82 |
- # Construct auth caps that if present might conflict with the desired |
83 |
- # auth caps. |
84 |
-- unwanted_access_level = 'r' if want_access_level is 'rw' else 'rw' |
85 |
-+ unwanted_access_level = 'r' if want_access_level == 'rw' else 'rw' |
86 |
- unwanted_mds_cap = 'allow {0} path={1}'.format(unwanted_access_level, path) |
87 |
- if namespace: |
88 |
- unwanted_osd_cap = 'allow {0} pool={1} namespace={2}'.format( |